I have a problem with the items that are dropped by crops. At first I solved the problem by doing a separate class for every crop. I want to set the seed and crop drop in the GameRegistry like that GameRegistry.registerBlock(resource_crop = new TestCrop("resource_crop", AEItems.resource_seed, AEItems.redstone_sprout), "resource_crop"); but it was unsuccessful.
Custom Crop code:
Crop Register:
When I break the crop I get this error:
[server thread/WARN] [FML]: Attempted to add a EntityItem to the world with a invalid item at (936.52, 4.37, 999.74), this is most likely a config issue between you and the server. Please double check your configs