I notice some issue like this.
Is single quotes the answer of this issue?
---------------------------------------------
I have a problem about the command.
When I trigger this,it works.
/tellraw @p {text:"",extra:[{text:"Book",clickEvent:{action:run_command,value:"/give @p minecraft:written_book 1 0 {title:\"Book\",author:\"kyob\",pages:[\"{text:\"\"}\"]}"}}]}
After I add the "extra" tag,it does not work.
/tellraw @p {text:"",extra:[{text:"Book",clickEvent:{action:run_command,value:"/give @p minecraft:written_book 1 0 {title:\"Book\",author:\"kyob\",pages:[\"{text:\"\",extra:[{text:\"TEXT\"}]}\"]}"}}]}
I hope that Mojang could find the bug of this.
Thank you for notice it.
Linked issues
Comments 10
I am very confuse about the special way.
I fix my command after seeing MC-69241,but it still do not work.
Here is my fixed command.
/tellraw @p {text:"",extra:[{text:"Book",clickEvent:{action:run_command,value:"/give @p minecraft:written_book 1 0 {title:\"Book\",author:\"kyob\",pages:[\"{text:\\\"\\\",extra:[{text:\\\"TEXT\\\"}]}\"]}"}}]}
I really do not know where I do something wrong.
use @unknown's Tellraw Generator : http://ezekielelin.com/tellraw/
Oh No
Everything is great before I put the command which the "Tellraw Generator" gives me return to the "Tellraw Generator".
I want to get the command which shows a button,and the button could gives me a book which includes command.
Here is the process that I do.
I add "TEXT" with my command.
Later I get the command like this.(a button in book which trigger command)
/give @a written_book 1 0 {pages:["{\"text\":\"\",\"extra\":[{\"text\":\"TEXT\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"setblock ~ ~1 ~ air\"}}]}"],title:Book,author:TellrawGenerator}
Then I put this as a command in a "tellraw". (clickEvent)
/tellraw @a {"text":"","extra":[{"text":"TEXT","clickEvent":{"action":"run_command","value":"/give @a written_book 1 0 {pages:[\"{\\\"text\\\":\\\"\\\",\\\"extra\\\":[{\\\"text\\\":\\\"TEXT\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"setblock ~ ~1 ~ air\\\"}}]}\"],title:Book,author:TellrawGenerator}"}}]}
I trigger this in Minecraft,and it says 'Unbalanced quotation'.
Does the command which tellraw generator gives me wrong?
The command your trying to put in a run_command item is too long, it must be at most 90 characters. You need to find another way to do that.
Not a bug.
You need to escape the quotes of the tags of extra in a special way, see MC-69241.