mojira.dev
MC-70157

Tellraw commands doesn't target entitys

I made this book:

/give @a written_book 1 0 {pages:["{\"text\":\"\",\"extra\":[{\"text\":\"/Home and /Back Plugins\",\"color\":\"black\",\"bold\":\"true\"},{\"text\":\"         /sethome\",\"color\":\"gold\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/summon WitherSkull ~ ~ ~ {direction:[],CustomName:home}\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"Sets your 1st home\"}}},{\"text\":\"          /sethome2\",\"color\":\"gold\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/summon WitherSkull ~ ~ ~ {direction:[],CustomName:home2}\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"Sets your 2nd home\"}}},{\"text\":\"          /sethome3\",\"color\":\"gold\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/summon WitherSkull ~ ~ ~ {direction:[],CustomName:home2}\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"Sets your 3rd Home\"}}},{\"text\":\"          /home\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @a[r=5] @e[type=WitherSkull,name=home]\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"Teleports you to your home\"}}},{\"text\":\"                    /home2\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @a[r=5] @e[type=WitherSkull,name=home2]\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"Teleports you to your 2nd home\"}}},{\"text\":\"             /home3\",\"color\":\"dark_aqua\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/tp @a[r=5] @e[type=WitherSkull,name=home3]\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"Teleports you to your 3rd home\"}}},{\"text\":\"             /delhome\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/kill @e[type=WitherSkull,name=home]\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"Removes your home!\"}}},{\"text\":\"             /delhome2\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/kill @e[type=WitherSkull,name=home2]\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"Kills your 2nd home!\"}}},{\"text\":\"            /delhome3\",\"color\":\"dark_red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/kill @e[type=WitherSkull,name=home3]\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"Kills your 3rd home!\"}}}]}"],title:Book,author:SubjectRedstone,display:{Name:/home}}

And many times when i click the text it doesn't do what it's supposed to do, but in other versions it works fine.

Comments 3

There is no tellraw command in your book.
And, what should entities do with some text being told ? There is no AI reading the text.

Correct me if I'm wrong, but I believe tellraw only works in chat...

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Jordan Alexander Brant

(Unassigned)

Unconfirmed

Minecraft 1.8-pre3

Retrieved