Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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.

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
  • 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.

  • 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.

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.