Uploaded image for project: 'Minecraft'
  1. Minecraft
  2. MC-101457

JSON signs with the "score" tag don't work.

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3, Minecraft 1.9.4, Minecraft 16w21a, Minecraft 1.10 Pre-Release 2, Minecraft 1.10, Minecraft 1.10.1, Minecraft 1.10.2, Minecraft 16w32a, Minecraft 16w32b, Minecraft 16w33a, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39a, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w43a, Minecraft 16w44a
    • Labels:
      None
    • Environment:

      Windows 10 Pro 64-bit
      Intel(R) Core(TM) i5-4460QM CPU @ 3.20GHz 3.20 GHz
      16.0 GB RAM
      Nvidia GeForce GTX 960
      Using the new launcher that installs a "custom java"

    • Confirmation Status:
      Community Consensus

      Description

      I have a JSON sign that uses the "score" tag. When I update the sign with blockdata, the score doesn't appear. However, the same command works in 1.9.3-pre1 and previous versions.

      Steps to reproduce

      1. Place down a command block
      2. Place a sign on top of it
      3. Create a scoreboard objective called 'easterEgg' and make it a dummy
        /scoreboard objectives add easterEgg dummy
      4. Set your easterEgg score to any value
        /scoreboard players set @p easterEgg 9
      5. Paste this command into the command block
        /blockdata ~ ~1 ~ {Text1:"[\"\"]",Text2:"[\"\",{\"text\":\"You found \",\"color\":\"dark_aqua\"},{\"score\":{\"name\":\"@p\",\"objective\":\"easterEgg\"},\"color\":\"gold\"},{\"text\":\"/9\",\"color\":\"gold\"}]",Text3:"[\"\",{\"text\":\"Easter Eggs!\",\"color\":\"dark_aqua\"}]"}
        
      6. Activate the command block

      Code analysis by [Helper] Marcono1234 can be found in this comment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                grum [Mojang] Grum (Erik Broes)
                Reporter:
                Minecraft Space Minecraft Space
              • Votes:
                87 Vote for this issue
                Watchers:
                46 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: