mojira.dev
MC-181418

Entity names can no longer be colored

The bug

Entity names can no longer be colored. They are now displayed in white. This applies to multiplayer and singleplayer.

How to reproduce

/summon cow ~ ~ ~ {CustomName:'{"text":"blah","color":"green"}',CustomNameVisible:1b}

→ ❌ The name is white, not green

Linked issues

Comments 5

Added repro steps/confirmed

This affects more than colour, such as the text being bold, italic, or strikethrough. 

There's also another issue where "§" code does not work in resource pack entries that call for a variable. For example:

"commands.tag.add.success.single": "Added tag '§a%s§r' to %s",

This no longer works as of 20w17a.

just tested it in 1.16-pre2 and doesn't show color

I did tested in 1.16-pre2 and it does actually work, I've worked on a datapack that runs on armor stand's custom name and colors and can confirm I didn't receive any issues.
Did you write the correct command for it?

Rasmus

Felix Jones

Confirmed

Important

Commands, Rendering

20w18a

20w19a

Retrieved