Mojira Archive
MC-58036

A clickEvent on JSON signs does not consider the position where the sign was clicked

The bug:
When you click a sign with a chatEvent, the position where you clicked is not considered. You can click anywhere and the chatEvent is always triggered.
What should happen:
The chatEvent should only be triggered if the actual text with the chatEvent was clicked.
How to reproduce:

  • Create a sign with a chatEvent:
    /setblock ~ ~1 ~ minecraft:standing_sign 0 replace {Text1:"{text:\"click here\",clickEvent:{action:run_command,value:\"/say clicked\"}}"}
  • Click anywhere on the sign:
    It will print out "clicked" in the chat wherever you click on the sign

Works As Intended

Dominik Stolz

[Mojang] Searge (Michael Stoyke)

2014-06-19, 09:46 PM

2014-06-20, 12:14 AM

2014-06-20, 12:14 AM

1

1

Unconfirmed

Minecraft 14w25b

-