mojira.dev
MC-82298

"minecraft.killed:minecraft.<ENTITY>" doesn't increase when entities are killed through being damaged by other sources after being attacked by the player

The Bug:

"minecraft.killed:minecraft.<ENTITY>" doesn't increase when entities are killed through being damaged by other sources after being attacked by the player.

Steps to Reproduce:

  1. Create a scoreboard objective for tracking when you kill a husk and set it to display on the sidebar by using the commands provided below. 

    /scoreboard objectives add KillHusk minecraft.killed:minecraft.husk
    /scoreboard objectives setdisplay sidebar KillHusk
  2. Summon a husk, kill it normally and take note of how the scoreboard increases.

  3. Build the setup as shown in the attachment below.

[media]
  1. Summon a husk on the diamond block that has low health by using the command provided below.

    /summon minecraft:husk ~ ~ ~ {Health:2f}
  2. Punch the husk into the fire and allow it to die from burning.

  3. Take note as whether or not "minecraft.killed:minecraft.<ENTITY>" doesn't increase when entities are killed through being damaged by other sources after being attacked by the player.

Observed Behavior:

"minecraft.killed:minecraft.<ENTITY>" doesn't increase when entities are killed through being damaged by other sources after being attacked by the player.

Expected Behavior:

"minecraft.killed:minecraft.<ENTITY>" would increase when entities are killed through being damaged by other sources after being attacked by the player.

Related issues

Attachments

Comments

migrated
[media][media][media][media]
migrated

Confirmed.

migrated

Just checked in 16w41a and it's still an outstanding issue. It's never been addressed since reported.

Avoma

Can confirm in 20w51a.

ampolive

Can confirm in 1.17.1.

Avoma

I'd like to request ownership of this ticket since the current reporter has been inactive since October 2016. I'm willing to provide all of the necessary information and will keep this report updated.

Avoma

(Unassigned)

Confirmed

Statistics

Minecraft 1.8.7, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.12 Pre-Release 6, ..., 1.21.2 Pre-Release 3, 1.21.3, 1.21.4, 25w08a, 1.21.5

Retrieved