Mojira Archive
MC-255993

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:

  1. Summon and cat and tame it using some cod.
  2. 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
  3. Look at the chat.
  4. 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.

Unresolved

Shuddery

2022-09-18, 06:53 PM

2024-07-31, 08:25 AM

3

2

Confirmed

Low

Platform

Commands

1.19.2, 22w43a, 1.19.3, 1.21

-