Okay so I have my armor items declared as follows:
public static Item helmetMithril;
public static Item plateMithril;
public static Item legsMithril;
public static Item bootsMithril;
helmetMithril = new helmetMithril(helmetMithrilID, EnumArmorMaterial.MITHRIL, 5, 0).setUnlocalizedName("helmetMithril");
plateMithril = new plateMithril(plateMithrilID, EnumArmorMaterial.MITHRIL, 5, 1).setUnlocalizedName("plateMithril");
legsMithril = new legsMithril(legsMithrilID, EnumArmorMaterial.MITHRIL, 5, 2).setUnlocalizedName("legsMithril");
bootsMithril = new bootsMithril(bootsMithrilID, EnumArmorMaterial.MITHRIL, 5, 3).setUnlocalizedName("bootsMithril");
int helmetMithrilID = 5008;
int plateMithrilID = 5009;
int legsMithrilID = 5010;
int bootsMithrilID = 5011;
Each piece has an associated class file with it and they all show up just fine in game. I looked all over and couldn't find a guide that showed how to make the armor actually appear on you character in 1.5.1. I already have the armor_1 and 2 png files created but don't know how to call them with the way I have things set up above. Please help me.
Next time push the "code button" to write code thanks
Rollback Post to RevisionRollBack
<---- CLICK Join my server: create.zapto.org or 219.89.124.82
Next time push the "code button" to write code thanks
Join my server: create.zapto.org or 219.89.124.82