Morpheus420 Posted September 5, 2015 Share Posted September 5, 2015 hi my armour wont protect and ive done this for my code any ideas why it wont? http://pastebin.com/iCmNSVmw Quote Link to comment Share on other sites More sharing options...
Morpheus420 Posted September 5, 2015 Author Share Posted September 5, 2015 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); Quote Link to comment Share on other sites More sharing options...
shadowfacts Posted September 5, 2015 Share Posted September 5, 2015 Erm, diesieben, ItemArmour extends ItemArmor. There's a u in one and not the other. Quote Don't make mods if you don't know Java. Check out my website: http://shadowfacts.net Developer of many mods Link to comment Share on other sites More sharing options...
Morpheus420 Posted September 7, 2015 Author Share Posted September 7, 2015 Sory I didn't know what to do/how to code armour so I followed tutorial Quote Link to comment Share on other sites More sharing options...
Morpheus420 Posted September 10, 2015 Author Share Posted September 10, 2015 Sooooo any help? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.