mojira.dev
MC-85548

signs blockdata glitched

signs modified by /blockdata in 1.8 and opened in the 1.9 snapshots show null on lines that should be empty. running the /blockdata command again from the command blocks that modified it first shows part of the command instead of the text i was expecting. happened even when i removed all commas from the command

i expected the signs to look the same as in 1.8 and the running the command again to fix any glitches.

when i opened my pvp arena in 1.9 the signs showed null on empty lines and the command did not work.

Attachments

Comments 1

The JSON format has changed.
Now you have to put all tags in quotes (its backward compatible so don't worry):

blockdata -3 38 1000 {
   Text1:"{\"text\":\"---------------\",\"color\":\"dark_green\"}",
   Text2:"{\"text\":\"[ START ]\",\"color\":\"dark_green\"}",
   Text3:"{\"text\":\"Click\",\"color\":\"green\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/setblock 3 22 1000 minecraft:redstone_block\"}}",
   Text4:"{\"text\":\"----------------\",\"color\":\"dark_green\"}"}

Adan Chappuis

(Unassigned)

Unconfirmed

Minecraft 15w32c

Retrieved