-
Bug
-
Resolution: Duplicate
-
None
-
1.14.4
-
None
-
Unconfirmed
-
(Unassigned)
Description
The "suggest_command" click event does not work in written books. When clicking on the text nothing happens.
What should've happened
When clicking on the text with the click event it should have opened chat with the specific text specified in chat.
What actually happened
Nothing.
How to recreate
Give yourself a book like this one here:
/give @p written_book{pages:["[\"\",{\"text\":\"click here\",\"clickEvent\":{\"action\":\"suggest_command\",\"value\":\"/team join <PlayerName> <TeamName>\"}}]"],title:CustomBook,author:Player}
When clicked on chat should open and "/team join <PlayerName> <TeamName>" should appear in chat.
By running the following command you can see how this function should work by doing this through a tellraw command:
/tellraw @p ["",{"text":"click here","clickEvent":{"action":"suggest_command","value":"/team join <PlayerName> <TeamName>"}}]
- duplicates
-
MC-70317 Suggest command does not work in books
- Resolved