Description of the bug
The Minecraft team attribute "deathMessageVisibility" is not working for several entities.
Unexpected
The message when killing entities won't show up except for players.
Expected
The message should display as expected by the "deathMessageVisibility" attribute!
Steps:
Create team using: "/team add TeamName"
[OPTIONAL] Adjust the team's visibility: "/team modify TeamName prefix {"text":"ExampleVisibility ","color":"yellow"}" and/or "/team modify TeamName color yellow".
Use "/summon minecraft:spider ~ ~1 ~ {Team:TeamName,CustomNameVisible:1b}".
Kill the mob !
Use "/team join TeamName".
Use /kill.
Notice
Commands:
/team add TeamName
/team modify TeamName prefix {"text":"ExampleVisibility ","color":"yellow"}
/team modify TeamName color yellow
/summon minecraft:spider ~ ~1 ~ {Team:TeamName,CustomNameVisible:1b}
/kill
Images and videos
[media]Attachments
Comments 5
You're right, it's easier thank you.
Edit: Talking about formatting. About the issue: It would seem logical to me that the command also works on entities, but I cannot determine on my own whether this is a WAI issue or not.
Death messages are only send for players and named pets, ever. The team rule only toggles visibility for those that get send in the first place.
PS, your report is overly fornatted with coloring, it's better to not format everything.