Mojira Archive
MC-131352

Item rarity color / colour overrides first text component's colour in the held tooltip (item switching)

This seems to be related to MC-5206 although italics seem to work.

This appears to be happening because the item rarity colour replaces the colour of the first text component.

Reproduce:

Run the command:

/give @s dirt{display:{Name:"{\"text\":\"Test\",\"color\":\"red\"}"}}

And look at the tooltip in the inventory, then look at the item when you switch to the slot in the hotbar.

Comparing this to spawning in a dragon egg with the same command:

/give @s dragon_egg{display:{Name:"{\"text\":\"Test\",\"color\":\"red\"}"}}

You can see that the colour has been overridden by the rarity colour.

Fixed

Synthestra

[Mojang] Cory Scheviak

2018-06-15, 03:58 PM

2018-07-05, 02:03 AM

2018-07-04, 04:01 PM

13

6

Confirmed

Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5

Minecraft 1.13-pre7