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

Selectors and scoreboards not working for signs (works correctly for books, /tellraw, and /title)

XMLWordPrintable

    • Confirmed

      When typing in commands such as:

      /title @a title [{"selector":"@p"},{"score":{"name":"@p","objective":"obj"}}]
      
      /tellraw @a [{"selector":"@p"},{"score":{"name":"@p","objective":"obj"}}]
      
      /give @a minecraft:written_book{title:"",author:"",pages:["[{\"selector\":\"@p\"},{\"score\":{\"name\":\"@p\",\"objective\":\"obj\"}}]"]}
      
      /give @a minecraft:sign{BlockEntityTag:{Text1:"[\"name: \",{\"selector\":\"@p\"}]",Text2:"[\"score: \",{\"score\":{\"name\":\"@p\",\"objective\":\"obj\"}}]"}}
      

      /title, /tellraw, and the book works fine, but the sign shows the raw selector and no score.

            dinnerbone [Mojang] Nathan Adams
            MukiTanuki MukiTanuki
            Votes:
            7 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: