Jump to content

using the white leather armor texture in a modded armor


Recommended Posts

Posted

is there anyway to do this? i've been doing research about it for a few weeks and keep coming up with people telling me to create a recipe for every dye type, that would work except that the leather armor in vanilla can have more than 16 colors. you can put multiple colors on a leather armor to dye it. from what i understand the vanilla code it refers to a leather armor texture that is white, then uses this and applies the appropriate color and then an overlay (maybe the other way around) that make up the parts that stay brown. i don't understand how to do this to a modded armor, anyone have any ideas?

Posted

Give the color of my item? I know that mods sometimes can register items by color but none of the tutorials I have found have explained how to do that.

 

This is what is in my client proxy for each of my armor types, is there an argument that I am missing?

 

	public int addArmor2(String boundChain){
		return RenderingRegistry.addNewArmourRendererPrefix(boundChain);

}

 

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.

Announcements



×
×
  • Create New...

Important Information

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