In this Issue, the author mentions that there needs to be a way to set display->color to solve the rendering problem.
official MMOitems wiki is pretty vague about how to set CustomModelData
in their items and there is no information on how to set custom color to leather armors. What you have to do is find a way to set the CustomModelData
and the display
-> color
attribute to the armor item in the MMOitems item configuration to reflect what you have in the ItemsAdder item.
Now we can set this color by setting basic->dye_color.
A_CHESTPLATE:
base:
material: LEATHER_CHESTPLATE
custom-model-data: 45003
name: CHESTPLATE
displayed-type: ARMOR
unbreakable: true
dye_color: 213 0 0
I've checked that this does set display->color to be the same as the items that /iaget
gets. However, this doesn't help the armor rendering.
The NBT of the chestplate from `/mi`
The NBT of the chestplate from `/iaget`
I wonder if this is due to the fact that Itemsadder's armor rendering isn't solely determined by the coloring value. What should I do to fix this?