Posted June 18, 20169 yr Hey guys. Out of the frying pan and into the fire! I fixed the issue with the hash code thanks to Choonster and diesieben and now I get this: java.lang.IllegalArgumentException: Cannot set property PropertyInteger{name=age, clazz=class java.lang.Integer, values=[0, 1, 2, 3, 4, 5, 6, 7]} as it does not exist in BlockStateContainer{block=null, properties=[stage]} at net.minecraft.block.state.BlockStateContainer$StateImplementation.withProperty(BlockStateContainer.java:211) at net.minecraft.block.BlockCrops.<init>(BlockCrops.java:27) at com.mysticalcrops.blocks.MysticalCropBlock.<init>(MysticalCropBlock.java:38) at com.mysticalcrops.blocks.CropBlocks.registerBlockCrop(CropBlocks.java:19) at com.mysticalcrops.blocks.CropBlocks.loadCropBlocks(CropBlocks.java:15) at com.mysticalcrops.proxy.CommonProxy.init(CommonProxy.java:18) at com.mysticalcrops.proxy.ClientProxy.init(ClientProxy.java:19) at com.mysticalcrops.MysticalCrops.init(MysticalCrops.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) My code for the block: http://pastebin.com/bF69yDT0
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.