Mojira Archive
MC-59504

Text in tellraw doesn't accept \ while text on signs/in books needs \ (JSON) = Tellraw wont work with signs

I am sorry if this is a duplicate, but formatting whit JSON became lot complicated and I recognized that:

  • Tellraw (doesn't accept \ ):
    /tellraw @p {text:"HI"}
    
  • Signs (needs \ ):
    /give @p sign 1 0 {BlockEntityTag:{Text1:"{\"text\":\"\",\"extra\":[{\"text\":\"CLICK\"}]}",id:"Sign"}}
    
  • Mixed (doesn't work, which makes pretty much sense):
    /give @p sign 1 0 {BlockEntityTag:{Text1:"{\"text\":\"\",\"extra\":[{\"text\":\"CLICK\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tellraw @p {text:\\\"Hi\\\"}\"}}]}",id:"Sign"}}
    

    (I made this using: http://ezekielelin.com/tellraw/#addExtraModalData )

This will cause the game having problems with text detection which will cause the game to put the whole command on the sign. Without the \ it wont recognize the text in the /tellraw as text and will give (in a command block) as ouput:

[13:28:53] Kann NBT-Daten Unexpected token 'H' at: Hi"}\"}}]}",id:"Sign" nicht analysieren

Works As Intended

Marcono1234

[Mojang] Searge (Michael Stoyke)

2014-06-28, 02:30 PM

2015-09-07, 06:38 AM

2014-07-10, 03:51 PM

0

2

Unconfirmed

book, json, sign, tellraw, text, written-book

Minecraft 14w26c

-