Using the "/data" command to set a pet's health to zero doesn't display a death message
The Bug:
Using the "/data" command to set a pet's health to zero doesn't display a death message.
Steps to Reproduce:
- Summon and cat and tame it using some cod.
- Use the "/data" command to set the cat's health to zero by using the command provided below.
/execute as @e[type=minecraft:cat,limit=1,sort=nearest] run data modify entity @s Health set value 0
- Look at the chat.
- Take note as to whether or not using the "/data" command to set a pet's health to zero displays a death message.
Observed Behavior:
No death message is displayed.
Expected Behavior:
A death message would be displayed.