public class ExampleMod implements ModInitializer { public static final String MOD_ID = "tutorial"; // a public identifier for multiple parts of our bigger chest public static final Identifier BIGGER_CHEST = new Identifier(MOD_ID, "bigger_chest_block"); public static final Block BIGGER_CHEST_BLOCK = new BiggerChestBlock(FabricBlockSettings.of(Material.METAL)); @Override public void onInitialize() { Registry.register(Registry.BLOCK, BIGGER_CHEST, BIGGER_CHEST_BLOCK); Registry.register(Registry.ITEM, BIGGER_CHEST, new BlockItem(BIGGER_CHEST_BLOCK, new Item.Settings().group(ItemGroup.REDSTONE))); } }