mojira.dev
MC-127947

"Color" and "CollarColor" entity and banner NBT tags still use numeral values instead of nominal ones

All is in the title.
Almost all NBT tags using numerical values before the flattening were replaced by nominal ones. I just noticed "Color" and "CollarColor" tags do not.

It concerns sheeps, shulkers, wolves and cats.

Attachments

Comments 7

The ticket regarding enchantments is MC-61041.

I think it works as intended because the color tags for those entities are Hex-Values that can become any color you want them to (and not predefined ones only)

@ZockerAxel nope, only the 16 vanilla colors (values from 0 to 15) are supported in this tag.
It would be really cool if hex-values were allowed!

The current problem is you have to check the wiki or something to know which value if for which color (especially since we can no longer see it with the metadata of colored blocks). It would be really easier to use nominal values instead.

This also applies to the CollarColor tag for wolves.

@Alina Volana Yep, that's true, added

added a screenshot displaying the related tags through /data with two differently-colored sheep

Can confirm in 1.17.1.

Yanis48

(Unassigned)

Confirmed

(Unassigned)

color, flattening, id, nbt-tags, sheep, shulker, wolf

Minecraft 18w14a, Minecraft 18w14b, Minecraft 18w15a, Minecraft 18w16a, Minecraft 18w19a, ..., Minecraft 19w03a, Minecraft 19w12b, 1.16.1, 1.17.1, 24w39a

Retrieved