Posted July 2, 201312 yr I've seen since 1.5.2 that IArmorTextureProvider was going to be deprecated, taking away getArmorTextureFile with it, and it finally has in the 1.6.1 release. Now I have no idea what to use in its place in this new version. Can anybody help me figure out what I can put so that my armor textures show up in-game. Don't tell me to learn the basics of java, I already know.
July 2, 201312 yr Author Okay, I see, but what goes in stack, entity, slot, and layer Don't tell me to learn the basics of java, I already know.
July 2, 201312 yr Author Do you have an example of a new armor file that I can look at. Don't tell me to learn the basics of java, I already know.
July 2, 201312 yr BTW, I get no errors if I just changed the name and params of the getArmorTextureFile to getArmorTexture. Is there something I'm missing? -Mitchellbrine Minecraft can do ANYTHING, it's coded in Java and you got the full power of Java behind you when you code. So nothing is impossible. It may be freaking fucking hard though, but still possible If you create a topic on Modder Support, live by this motto: I don't want your charity, I want your information
July 2, 201312 yr Author Do you have an example of a new armor file that I can look at. The vanilla armor is a pretty good example IMO. Where is the code for the vanilla armor? Don't tell me to learn the basics of java, I already know.
July 2, 201312 yr Author Don't call me stupid, first of all, I was just asking a question. Second, why don't my textures show up, was the texture directory changed? Don't tell me to learn the basics of java, I already know.
July 3, 201312 yr Vanilla armor textures don't render either so we wait for forge to get the changes right. Be patient and all will be good. None of my textures work as of right now. Still early development of forge for 1.6.1 all will be worked out soon. Armor_1 and _2.pngs also moved to assets/textures/models
July 5, 201312 yr Do you have an example of a new armor file that I can look at. This is what worked for my mod. public String getArmorTexture(ItemStack par1, Entity entity, int slot, int layer){ if (par1.itemID == Diamerald.Diameraldhelmet.itemID || par1.itemID == Diamerald.Diameraldplate.itemID || par1.itemID == Diamerald.Diameraldboots.itemID){ return "diamerald:textures/models/armor/diamerald_layer_1.png"; } if (par1.itemID == Diamerald.Diameraldlegs.itemID){ return "diamerald:textures/models/armor/diamerald_layer_2.png"; } return "diamerald:textures/models/armor/diamerald_layer_2.png"; }
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.