tutorial:crops
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tutorial:crops [2022/12/21 01:41] – item groups in 1.19.3 haykam | tutorial:crops [2023/11/18 08:44] (current) – solidblock | ||
---|---|---|---|
Line 66: | Line 66: | ||
public class TutorialMod implements ModInitializer { | public class TutorialMod implements ModInitializer { | ||
- | public static final CropBlock CUSTOM_CROP_BLOCK = new CustomCropBlock(AbstractBlock.Settings.of(Material.PLANT).nonOpaque().noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP)); | + | public static final CropBlock CUSTOM_CROP_BLOCK = new CustomCropBlock(AbstractBlock.Settings.create().nonOpaque().noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.CROP)); |
public static final Item CUSTOM_SEEDS = new AliasedBlockItem(TutorialMod.CUSTOM_CROP_BLOCK, | public static final Item CUSTOM_SEEDS = new AliasedBlockItem(TutorialMod.CUSTOM_CROP_BLOCK, |
tutorial/crops.1671586873.txt.gz · Last modified: 2022/12/21 01:41 by haykam