"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:
- 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
- Summon a husk, kill it normally and take note of how the scoreboard increases.
- Build the setup as shown in the attachment below. setup.png

- Summon a husk on the diamond block that has low health by using the command provided below.
/summon minecraft:husk ~ ~ ~ {Health:2f} - Punch the husk into the fire and allow it to die from burning.
- 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.
2015-07-12, 12:13 AM
2024-12-07, 02:06 PM
11
5
Minecraft 1.8.7 - 1.21.4
Minecraft 1.8.7, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.12 Pre-Release 6, 20w07a, 20w51a, 1.17.1 Pre-release 2, 1.17.1, 21w38a, 21w40a, 1.18 Pre-release 7, 1.18, 1.18.1, 22w05a, 1.18.2 Release Candidate 1, 1.18.2, 1.19, 1.19.2, 22w43a, 1.19.3, 1.19.4, 1.20, 1.20.1, 24w11a, 1.21, 1.21.1, 1.21.2 Pre-Release 3, 1.21.3, 1.21.4
-