Posted September 5, 201510 yr hi my armour wont protect and ive done this for my code any ideas why it wont? http://pastebin.com/iCmNSVmw
September 5, 201510 yr Author heres armour material:public static final ItemArmor.ArmorMaterial phsikArmourMaterial = EnumHelper.addArmorMaterial("phsikArmourMaterial", 0 ,new int[]{19,25,20,15}, 30); public static Item helmet; public static Item legs; public static Item chest; public static Item foot; aaaaand here foot = new ItemArmour(phsikArmourMaterial, 0, 0).setUnlocalizedName("foot").setTextureName("al:head").setCreativeTab(tabAlchimia); chest= new ItemArmour(phsikArmourMaterial, 0, 1).setUnlocalizedName("chest").setTextureName("al:chest").setCreativeTab(tabAlchimia); legs = new ItemArmour(phsikArmourMaterial, 0, 2).setUnlocalizedName("legs").setTextureName("al:legs").setCreativeTab(tabAlchimia); helmet = new ItemArmour(phsikArmourMaterial, 0, 3).setUnlocalizedName("helmet").setTextureName("al:boots").setCreativeTab(tabAlchimia);
September 5, 201510 yr Erm, diesieben, ItemArmour extends ItemArmor. There's a u in one and not the other. Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods
September 7, 201510 yr Author Sory I didn't know what to do/how to code armour so I followed tutorial
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.