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

RawJSON score selector @s doesn't work with signs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.16.1
    • None
    • Executed on dedicated server, 4GB RAM, OpenJDK 8 u252 on Ubuntu 18.04.3
    • Unconfirmed
    • (Unassigned)

      When executing this command:

      /data merge block -31 12 -3 {Text1:'[{"text":"█ ","color":"green"},{"score":{"name":"@s","objective":"respawnTime"}},{"text":" █"}]'}
      

      as any entity with respawnTime not null, it result in showing:

      █  █ 

      And executing the same RawJSON inside a tellraw show what i expect:

       

       

      /tellraw @a [{"text":"█ ","color":"green"},{"score":{"name":"@s","objective":"respawnTime"}},{"text":" █"}]
      
      █ 30 █

      I have tryied using @e[limit=1], @p and player's name and it works.

      Using @s as described show no error.

       

       

            Unassigned Unassigned
            Crafteur ThePyroCrafteur
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: