User Tools

Site Tools


tutorial:crops

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:crops [2022/05/04 12:49] – [Registering your Crop and Seed Item] solidblocktutorial:crops [2022/12/16 02:43] solidblock
Line 72: Line 72:
  @Override  @Override
  public void onInitialize() {  public void onInitialize() {
- Registry.register(Registry.BLOCK, new Identifier("tutorial","custom_crop_block"), CUSTOM_CROP_BLOCK); + Registry.register(Registries.BLOCK, new Identifier("tutorial","custom_crop_block"), CUSTOM_CROP_BLOCK); 
- Registry.register(Registry.ITEM, new Identifier("tutorial","custom_seeds"), CUSTOM_SEEDS);+ Registry.register(Registries.ITEM, new Identifier("tutorial","custom_seeds"), CUSTOM_SEEDS);
  
  }  }
tutorial/crops.txt · Last modified: 2023/11/18 08:44 by solidblock