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

Entity in JSON text is not colored in the team's color if the selector doesn't use team=

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • 1.16 Release Candidate 1, 1.16, 21w03a
    • Confirmed
    • Commands, Rendering
    • Normal

      An entity's name isn't colored in its team's color in the chat if the entity selector does not use the team= argument. This did not happen in 1.15.2.

      To reproduce

      1. /team add testTeam
      2. /team modify testTeam color red
      3. /team join testTeam @s
      4. /tellraw @a {"selector":"@e[team=testTeam]","color":"green"}

        Your user name appears in red

      5. /tellraw @a {"selector":"@a","color":"green"}

        Your user name appears in green

        1. 1_.png
          1.35 MB
          Jonathan
        2. 1.png
          468 kB
          Jonathan
        3. 1x.png
          1.27 MB
          Jonathan
        4. 2_.png
          1.34 MB
          Jonathan
        5. 2-1.png
          473 kB
          Jonathan
        6. 2x-1.png
          461 kB
          Jonathan

            Unassigned Unassigned
            e4ry Jonathan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: