3

I want to make an item use a single greyed out texture to be any colour, much like leather armour.
I would do this with OptiFine but I don't know if it supports that or how I would even do that.
All I know is that I want to use the item's NBT data from this path

Item.tag.armElyData.chestplate.tag.display.color

to do it. The value is modified by a datapack and stored as a decimal.
Let me know if you need any more information from me.

1
  • 1
    Look up "CustomModelData". Commented Jul 15, 2023 at 0:03

1 Answer 1

2

Unfortunately, the only thing with color change using NBT is leather armor. This can be changed using an item_modifier using the set NBT property. Otherwise, you will need to use OptiFine or some other external utility.

However, if you are OK to use multiple textures, you can use the CustomModelData property that is available to all items. Here are some resources you can check out

Item Command (used for triggering modifiers); Item Modifiers; Item Modifier Generator

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.