Jump to content

[1.8] EnumHelper.addArmorMaterial textureName?


maxtriarch12

Recommended Posts

I'm trying to add a new armor into 1.8 and I'm not sure what to put here. The tutorial I was following was for 1.7 and doesn't have it, and any forum posts I search don't have a solid enough answer. I'm just not sure what to put in for the textureName.

 

Original:

public static final ItemArmor.ArmorMaterial cobaltArmorMaterial = EnumHelper.addArmorMaterial(name, textureName, durability, reductionAmounts, enchantibility);

 

 

What I currently have:

public static final ItemArmor.ArmorMaterial cobaltArmorMaterial = EnumHelper.addArmorMaterial("cobaltArmorMaterial", textureName, 4000, new int[]{2,7,5,3}, 15);

 

I understand it has to be a texture. But what texture and how do I put it in?

Link to comment
Share on other sites

It seems to be just named wrong. It just represents the name of the armor.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

So what? I just put like... "CobaltArmor"?

Yes, if it is the name of the armor material.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

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