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

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: