The team option "nametagVisibility" is supposed to restrict what players can see a nametag for a mob on a certain team.
For example, if I spawn a zombie on the "test" team, and the zombie has a custom name with CustomNameVisible set to true, and the test team has nametagvisibility set to hide for other teams, then I can only see its nametag if I am also on the test team.
The issue is, armor stands and area effect clouds seem to ignore this rule. It seems like their name tag is visible to all players no matter what team. This is an issue because I want to use nametags as markers, visible through walls, only visible to certain teams.
Is this a bug or an intended feature? Is there a way to get around this? It seems to apply to both armor stands and area effect clouds
Steps to Reproduce:
/summon minecraft:armor_stand ~ ~ ~ {CustomNameVisible:1,CustomName:"test"}
/team modify <team> nametagVisibility hideForOtherTeams
Observed Results:
other team still see the name
this work with other mob except armor stand