mojira.dev
MC-261782

Team attribute 'deathMessageVisibility' is not working for entities other than players.

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

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.

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.

Can confirm in 1.20.2.

also it doesn't affect the visibility of tamed wolfs, as they were automatically joined your team.

This is a feature request

Lunarian

(Unassigned)

Community Consensus

(Unassigned)

1.19.4, 23w14a, 1.20.1, 1.20.2, 23w43b, 23w44a

Retrieved