mojira.dev
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 @unknown can be found in this comment.

Linked issues

Attachments

Comments 18

Confirmed for 1.10 pre-2.

There's something about this ticket I don't understand. It's fairly popular (43 votes and 28 watches), it has Searge assigned to it, it's pretty major, it's fairly old, it's related to 2 tickets and is duplicated once, yet it's not yet fixed and its Confirmation Status is on "Community Consensus". I mean, what? It's getting a lot of attention but nobody's actually doing anything about it?

8 more comments

Confirmed to be still in 16w44a (r.i.p)

Fixed in 1.11-pre1

Was already marked as such.

Space

Erik Broes

Community Consensus

Minecraft 1.9.3 Pre-Release 2, Minecraft 1.9.3, Minecraft 1.9.4, Minecraft 16w21a, Minecraft 1.10 Pre-Release 2, ..., Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w43a, Minecraft 16w44a

Minecraft 1.11 Pre-Release 1

Retrieved