Okay i fixed my issue for the item, it was crashing because I didnt put models, however now I have an issue where when i try to place the item it crashes due to getBlockStateFromPlacement getting a nullpointer
Plant
public class GreasePlant extends CropsBlock {
public GreasePlant() {
super(Block.Properties.create(Material.PLANTS)
.tickRandomly()
.hardnessAndResistance(0.0f)
.doesNotBlockMovement()
.sound(SoundType.CROP));
setRegistryName("greaseplant");
}
}
Seeds
public class GreaseSeeds extends BlockNamedItem {
public GreaseSeeds() {
super(ModBlocks.GREASE_PLANT, (new Item.Properties().maxStackSize(64)));
setRegistryName("grease_seeds");
}
}
CrashReport