"run_command" clickEvent doesn't work in written books if chat is hidden
The bug
"run_command" clickEvents don't work in written books if chat is set to "Hidden" in chat settings. Signs are not affected.
How to reproduce
- Give yourself a written book with a "run_command" clickEvent:
/give @s written_book[written_book_content={title:MC-187850,author:j_p_smith,pages:['{"text":"Test","clickEvent":{"action":"run_command","value":"/give @p stone"}}']}] - Open the written book and click on the word "Test"
→
You are given a block of stone - Set chat to "Hidden" in chat settings
- Open the written book and click on the word "Test" again
→
You are not given a block of stone
Linked Issues
- Unresolved
[Mod] j_p_smith- 17
- 8
- Confirmed
- Commands Input Text UI
1.15.2 - 1.21.3
1.15.2 1.16-pre2 1.16-pre3 1.16-pre5 1.16-pre6 1.16-pre7 1.16-pre8 1.16-rc1 1.16 1.16.1 20w27a 20w28a 20w29a 20w30a 1.16.2-pre1 1.16.2-pre2 1.16.2-pre3 1.16.2-rc1 1.16.2-rc2 1.16.2 1.16.3-rc1 1.16.3 1.16.4-pre1 1.16.4-pre2 1.16.4 20w45a 20w46a 20w48a 20w49a 20w51a 21w03a 1.16.5 21w05a 21w05b 21w06a 21w08b 21w14a 21w15a 21w16a 21w17a 21w18a 21w19a 21w20a 1.17-pre1 1.17-pre4 1.17 1.17.1-pre1 1.17.1 21w37a 21w38a 21w39a 21w40a 21w41a 21w42a 21w43a 1.18-pre7 1.18.2 1.19-pre1 1.19 1.19.1-pre4 1.19.1 1.19.3 23w03a 23w04a 23w05a 23w06a 23w07a 1.19.4-pre3 1.19.4 23w13a 23w14a 1.20-pre1 1.20-pre2 1.20-pre4 1.20.1 23w31a 23w32a 23w33a 23w35a 1.20.2-pre1 1.20.2-pre2 1.20.2 23w40a 23w41a 23w42a 23w44a 1.20.4 24w03b 24w04a 24w05a 24w11a 24w12a 1.20.6 1.21 1.21.3
Created Issue:
"run_command" clickEvent doesn't work in written books if chat is hidden
The bug
The "run_command" clickEvent does not work in written books if the chat is set to "Hidden" in chat settings. Signs are unaffected. The issue does not persist after dying and respawning (possibly due to
MC-72721).How to reproduce
- Run the following command:
/give @s written_book{author:j_p_smith,title:MC-187850,pages:['{"clickEvent":{"action":"run_command","value":"/give @p dirt"},"text":"Button"}']}- Open the written book and click on the word "Button"
→You are given a block of dirt
- Set chat to "Hidden" in chat settings
- Open the written book and click on the word "Button" again
→You are not given a block of dirt
relates to
The bug
The "run_command" clickEvent does not work in written books if the chat is set to "Hidden" in chat settings. Signs are unaffected. The issue does not persist after dying and respawning (possibly due to
MC-72721).How to reproduce
- Run the following command:
/give @s written_book{author:j_p_smith,title:MC-187850,pages:['{"clickEvent":{"action":"run_command","value":"/give @p dirt"},"text":"Button"}']}- Open the written book and click on the word "
Button"
→You are given a block of dirt
- Set chat to "Hidden" in chat settings
- Open the written book and click on the word "
Button" again
→You are not given a block of dirt
The bug
The "run_command" clickEvent does not work in written books if the chat is set to "Hidden" in chat settings. Signs are unaffected. The issue does not persist after dying and respawning (possibly due to
MC-72721).How to reproduce
- Run the following command:
/give @s written_book{author:j_p_smith,title:MC-187850,pages:['{"clickEvent":{"action":"run_command","value":"/give @p dirt"},"text":"Test"}']}- Open the written book and click on the word "Test"
→You are given a block of dirt
- Set chat to "Hidden" in chat settings
- Open the written book and click on the word "Test" again
→You are not given a block of dirt
The bug
The "run_command" clickEvent does not work in written books if the chat is set to "Hidden" in chat settings. Signs are unaffected.The issue does not persist after dying and respawning (possibly due toMC-72721).How to reproduce
Run the following command:/give @s written_book{author:j_p_smith,title:MC-187850,pages:['{"clickEvent":{"action":"run_command","value":"/give @pdirt"},"text":"Test"}']}- Open the written book and click on the word "Test"
→You are given a block of
dirt- Set chat to "Hidden" in chat settings
- Open the written book and click on the word "Test" again
→You are not given a block of
dirtThe bug
The "run_command" clickEvent does not work in written books if the chat is set to "Hidden" in chat settings. Signs are unaffected. Oddly, the issue does not persist after dying and respawning (possibly due to
MC-72721).How to reproduce
- Give yourself a written book with a "run_command" clickEvent:
/give @s written_book{title:MC-187850,author:j_p_smith,pages:['{"text":"Test","clickEvent":{"action":"run_command","value":"/give @p stone"}}']}- Open the written book and click on the word "Test"
→You are given a block of stone
- Set chat to "Hidden" in chat settings
- Open the written book and click on the word "Test" again
→You are not given a block of stone
The bug
The"run_command" clickEvent does not work in written books ifthechat is set to "Hidden" in chat settings. Signs areunaffected.Oddly, the issue does not persist after dying and respawning (possibly due toMC-72721).How to reproduce
- Give yourself a written book with a "run_command" clickEvent:
/give @s written_book{title:MC-187850,author:j_p_smith,pages:['{"text":"Test","clickEvent":{"action":"run_command","value":"/give @p stone"}}']}- Open the written book and click on the word "Test"
→You are given a block of stone
- Set chat to "Hidden" in chat settings
- Open the written book and click on the word "Test" again
→You are not given a block of stone
The bug
"run_command" clickEvents don't work in written books if chat is set to "Hidden" in chat settings. Signs are not affected.
How to reproduce
- Give yourself a written book with a "run_command" clickEvent:
/give @s written_book{title:MC-187850,author:j_p_smith,pages:['{"text":"Test","clickEvent":{"action":"run_command","value":"/give @p stone"}}']}- Open the written book and click on the word "Test"
→You are given a block of stone
- Set chat to "Hidden" in chat settings
- Open the written book and click on the word "Test" again
→You are not given a block of stone
The bug
"run_command" clickEvents don't work in written books if chat is set to "Hidden" in chat settings. Signs are not affected.
How to reproduce
- Give yourself a written book with a "run_command" clickEvent:
/give @s written_book[written_book_content={title:MC-187850,author:j_p_smith,pages:['{"text":"Test","clickEvent":{"action":"run_command","value":"/give @p stone"}}']}]- Open the written book and click on the word "Test"
→You are given a block of stone
- Set chat to "Hidden" in chat settings
- Open the written book and click on the word "Test" again
→You are not given a block of stone