Posted May 1, 201411 yr I am trying to get enumhelper to work, but as far as eclipse knows the import does not exist: using the following imports: import net.minecraft.item.Item.ToolMaterial; import net.minecraftforge.common.EnumHelper; and trying to get the following to work: public static ToolMaterial gemRed = new EnumHelper.addToolMaterial("gemRed", 3, 512, 10.0F, 8.0F, 5);
May 1, 201411 yr this is the code needed for the toolMaterial. public static final Item.ToolMaterial gemRed = EnumHelper.addToolMaterial("gemRed", 3, 512, 10.0F, 8.0F, 5); This works fine for me. Coding, Testing, Smiling, Publishing!
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.