I have a block, this block has directions (6 directions) and subtypes (meta). I got some trobles when completing the getStateForMeta and getMetaFromState methods. On another forum, they told me to look into the BlockOldLog file, but what I saw there confused me even more. Can anybody tell me how i will complete this methods for block or advise mods, there i can find exactly what is needed
I made the ToolMaterial, and i add the .setRepairItem method, announced the ItemStack, where indicated the target item. Maybe i made something wrong?
public static Item.ToolMaterial HLOMINITE = EnumHelper.addToolMaterial("another_test:hlominite", 5, 1000, 50.0F, 16.0F, 76).setRepairItem(new ItemStack(ItemsRegister.HLOMINGOT));
I did everything as always, and still have installed JDK, set JAVA_HOME to him BUT something went wrong and I noticed that it's NOT there, although everything is correct