Mojira Archive
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.

Incomplete

Jordan Alexander Brant

2014-08-31, 08:36 PM

2017-02-14, 05:10 PM

2017-02-14, 05:10 PM

0

2

Unconfirmed

Minecraft 1.8-pre3

-