Details
-
Type:
Bug
-
Status: Resolved
-
Resolution: Fixed
-
Affects Version/s: Minecraft 1.13-pre2, Minecraft 1.13-pre3, Minecraft 1.13-pre4, Minecraft 1.13-pre5
-
Fix Version/s: Minecraft 1.13-pre7
-
Labels:None
-
Confirmation Status:Confirmed
Description
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.