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

Dying sign text also triggers clickEvent

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Works As Intended
    • Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w04b, Minecraft 19w05a, Minecraft 19w06a, Minecraft 19w07a
    • None
    • Confirmed

    Description

      The bug

      Dying the text of a sign additionally triggers clickEvents of the text components.

      This is likely not the intended behavior because the player wanted to only dye the sign text.

      How to reproduce

      1. Use the following command
        /setblock ~ ~ ~ oak_sign{Text1:"{\"text\":\"Dye me\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"/say Clicked\"}}"}
        
      2. Try to dye the text of the sign
        The text color was changed but the clickEvent was triggered as well

      Attachments

        Activity

          People

            searge [Mojang] Searge (Michael Stoyke)
            marcono1234 [Mod] Marcono1234
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              CHK: