June 16, 201312 yr damage is using metadata, try detecting by id and full metadata range if possible. I took over Hunting Traps Mod and work on helping the forge community as much as I can. View my work here: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/1443756-1-7-2-1-6-4-1-5-2-1-4-7-hunting-traps-mod-v-0-4-0
June 16, 201312 yr Author damage is using metadata, try detecting by id and full metadata range if possible. I know. But how i can detect it by metadata range? I represent, how it must work, maybe there is another method to make this?
June 16, 201312 yr frankly.....You got me, best advice i can give you is to find something that does something similar either in an open source mod or in vanilla minecraft. I took over Hunting Traps Mod and work on helping the forge community as much as I can. View my work here: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/1443756-1-7-2-1-6-4-1-5-2-1-4-7-hunting-traps-mod-v-0-4-0
June 16, 201312 yr ItemStack items = new ItemStack(MyMod.myItem); ... items.getItemDamage() Use the autocomplete functionality available within Eclipse to scroll through a list of properties and methods. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.