mojira.dev
MC-116785

"Color Codes" don't work anymore

What I expected to happen was...: (1.11.2)
After executing the command I will get a Stone Sword with the name "§cSword".

What actually happened was...: (1.11.2)
I got a Stone Sword with the name "§cSword".

What I expected to happen was...: (17w17b)
After executing the command I will get a Stone Sword with the name "§cSword".

What actually happened was...: (17w17b)
I don't get a Stone Sword. Output:
[20:11:02] Data tag parsing failed: Expected value at: {display:{Name:<--[HERE]

This problem affects all commands, not just /give.

Steps to Reproduce:
1. Copy "/give @p sign 1 0 {BlockEntityTag:{Text2:"{\"text\":\"Click\",\"color\":\"blue\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock ~ ~ ~ command_block 2 replace {Command:/give @p stone_sword 1 0 {display:{Name:\u00a7fSword}}}\"}}"}}" into a Command Block
2. Activate the Command Block
3. Place the sign and right click it
4. Activate the Command Block again
5. Now you should get a Stone Sword with the Custom Name "§fSword" (Works in 1.11.2)

Screenshots are attached.

Linked issues

Attachments

Comments 1

Thank you for your report!
However, this issue has been closed as a Duplicate of MC-116410.

It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

Mitschi'

(Unassigned)

Unconfirmed

Minecraft 17w17b

Retrieved