-
Bug
-
Resolution: Unresolved
-
None
-
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
-
None
-
Confirmed
-
Statistics
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.
- is duplicated by
-
MC-52082 the objective: "stat.killEntity" is not working when that mob dies from fire accept or flame
- Resolved
-
MC-230728 When a mob is punched then killed with a bed or respawn anchor explosion, the player who punched the mob gets the kill, advancements trigger, but statistics don't increment
- Resolved
- relates to
-
MC-118174 Poison / wither / fire damage are not associated with the damaging entity
- Open