Mojira Archive
MC-101457

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

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 Marcono1234 can be found in this comment.