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
/team add testTeam
/team modify testTeam color red
/team join testTeam @s
/tellraw @a {"selector":"@e[team=testTeam]","color":"green"}
→ ✔ Your user name appears in red
/tellraw @a {"selector":"@a","color":"green"}
→ ❌ Your user name appears in green
Linked issues
testing discovered 1
Attachments
Comments 6
If an entity have a name color, because the enity is in a team, with a custom team color. And if you displayed the entity name in a tellraw message, than the name color will automaticily be replaced by the team color of the entity. That's not the case 1.16, instead of the other versions.
In this case the color of the entity in chat will be displayed in green:
tellraw @a {"selector":"@e[tag=Test]","color":"green"}
But if the entity is in a team with a custom team color, than the color green will be changed to the team color of the entity. But that's not the case in 1.16.
Ah, I see, thanks for the explanation.
Oddly enough this only works when you access the entities when not using @e[team=...]
.
In 1.16, both tellraw messages are always green, unlike how it says in the reproduction steps.
As a workaround, you can use
[{"text":"","color":"green"},{"selector":"@a"}]
I don't quite understand what the issue is here, could you elaborate? If possible, also include some steps to reproduce.