so these lines of code:
// Register the Rustroot block
public static final RegistryObject<Block> RUSTROOT = BLOCKS.register("rustroot",
() -> new Block(BlockBehaviour.Properties.of()
.mapColor(MapColor.COLOR_ORANGE)
.strength(5.0f, 6.0f)
.requiresCorrectToolForDrops()
)
);
// Register the Rustroot block item
public static final RegistryObject<Item> RUSTROOT_ITEM = ITEMS.register("rustroot",
() -> new BlockItem(RUSTROOT.get(), new Item.Properties())
);
instantly crashes minecraft
i have tried way too much things but if you want to help me fix this, its for a forge mod