mojira.dev
MC-305246

Team colors cannot be overridden in "selector" text components if multiple entities are selected

If a single entity is selected by a text component of type selector, its team colour can be overridden using the color parameter. However, if multiple entities are selected, then the entities with a team colour will ignore the color parameter.

Moreover, if multiple entities are selected then the commas between the entity names are always grey, ignoring both the color parameter and the default text colour for the given context (e.g. chat, sign, written book, etc.).

How to reproduce

  1. /team add red

  2. /team modify red color red

  3. /summon cow ~ ~ ~ {Team:red}

  4. /summon cow ~ ~ ~ {Team:red}

  5. /tellraw @s {selector:"@n[team=red]",color:green}
    Cow

  6. /tellraw @s {selector:"@e[team=red]",color:green}
    Cow, Cow

Expected output

Cow, Cow

Linked issues

Comments 0

No comments.

j_p_smith

(Unassigned)

Confirmed

Platform

Normal

Commands

1.21.11

Retrieved