Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-58036

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 14w25b
    • None
    • Unconfirmed

      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

            searge [Mojang] Searge (Michael Stoyke)
            mrcat Dominik Stolz
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: