Naosyth Posted June 25, 2015 Share Posted June 25, 2015 I'm working on a piece of armor for my mod that I would like to be dye-able, similar to how vanilla leather armor can be dyed. I would also like the armor to be a Techne model rather than just the normal sort of armor. Could anyone link me to a tutorial of how this is done, or just give me the conceptual overview of how this is typically implemented? I assume I can probably just tint the whole texture with a color via GL11 somehow, but how would I go about only coloring certain areas of the texture? Thanks! I tried to search for this myself, but I found little information about it. Quote Link to comment Share on other sites More sharing options...
TheRealMcrafter Posted June 25, 2015 Share Posted June 25, 2015 I think your best bet is to make textures for all the different variants, and then wherever you render your armour model, check (via NBT, or some other way) what texture to bind, and then render it. Quote Link to comment Share on other sites More sharing options...
Jedispencer21 Posted June 26, 2015 Share Posted June 26, 2015 I would say just look at the RecipesArmorDyes to see how they make leather armor dyeable. Also check in ItemArmor. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.