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

Entity scores do not display in tellraw/any JSON formatting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.8, Minecraft 1.8.1-pre3, Minecraft 1.8.1-pre4, Minecraft 1.8.1-pre5, Minecraft 1.8.1
    • Unconfirmed

      when using players(either with selector or name) scores to display in tellraw the scores display fine
      if one instead tries to use an entity using a selector, the score will not display

      Steps to reproduce:

      Create a flat world, preferably redstoneready so that no animals can spawn
      Spawn a Pig
      /scoreboard objectives add temp dummy
      /scoreboard players set @e[type=Pig] temp 5
      /scoreboard players set @p temp 5
      /tellraw @a {score:{name:'@p',objective:'temp'}}
      /tellraw @a {score:{name:'@e[type=Pig,c=1]',objective:'temp'}}

      The first tellraw outputs the number 5
      The second tellraw outputs an empty line

            Unassigned Unassigned
            lennartVH01 lennart van hirtum
            Votes:
            6 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: