Jump to content

Change Armour Colour based off of NBT Tag (Like Leather Armour)


Recommended Posts

Hi, first of all apologies for my inexperience with modding in general but..

Could somebody help explain how I could change the colour of a piece of armour based off of its NBT colour tab (along with it's item), just like how leather armour works in vanilla.

I'm doing this in 1.20.1 using GeckoLib for my armour. I've already got the NBT tag bit working I just need help/ideas of how to make the colour change work.

I can provide what code I do have however most of it is from this tutorial: https://www.youtube.com/watch?v=3zqxU7vjHmQ&ab_channel=ModdingbyKaupenjoe

Thanks for any help you can give :)


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.

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.