mojira.dev
MC-93955

Text on signs using JSON disappear when reloaded

  • Input this command into command block:

    /setblock ~ ~1 ~ wall_sign 5 replace {Text1: "{\"text\": \"hello\"}"}
  • Exit world.

  • Enter world and text will have disappeared.

  • Happens with both standing signs and wall signs.

  • Placing a sign without using /setblock, is not affected by this.

Linked issues

Attachments

Comments

mrpingouin1

Invalid
See Grum last comment on MC-87143

migrated

So each line must be filled if one line is JSON?

mrpingouin1

Each line must be filled, and each line must be JSON.
You can use one of those commands as template :

/setblock ~ ~1 ~ minecraft:standing_sign 0 _ {Text1:"{\"text\":\"\"}",Text2:"{\"text\":\"\"}",Text3:"{\"text\":\"\"}",Text4:"{\"text\":\"\"}"}
/setblock ~ ~1 ~ minecraft:standing_sign 0 _ {Text1:"[\"\"]",Text2:"[\"\"]",Text3:"[\"\"]",Text4:"[\"\"]"}
migrated

Cool, thanks very much for your help. Am I able to delete this issue or does a mod have to?

migrated

No need to delete tickets (and you can't) - other people might stumble upon your ticket when they have the same problem!

migrated

Ok no problem, that's very true, thanks.

migrated

(Unassigned)

Unconfirmed

Minecraft 15w49b

Retrieved