mojira.dev
MC-44421

Commands don't work when Formatting codes are put inside dataTag

Minecraft text formatting on dataTags in /setblock command doesn't work.
Example:

/setblock ~ ~ ~ 54 2 replace {Items:[{id:387,Damage:0,Count:16,tag:{author:"feronzed",title:"Title",pages:[" §9This command doesn't work because of the § Minecraft Formatting "]},Slot:0}],id:"Chest",z:-7,y:69,x:0}

Command doesn't work because of § in pages list.

When Formatted code gets pasted into command blocks, formatting get's removed (Only Hex values are left).

Using \u00A7 instead of § doesn't work neither, \u00A7 just get's displayed normally.

This seems to apply to any command using dataTag.

Comments 1

The only way to use the § character is through server console commands, the § character has been disabled in the client.

Damian Johnes

(Unassigned)

Unconfirmed

Minecraft 1.7.4

Retrieved