Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. 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

XMLWordPrintable

    • Icon: Bug 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:

      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. setup.png
      4. Summon a husk on the diamond block that has low health by using the command provided below.
        /summon minecraft:husk ~ ~ ~ {Health:2f}
      5. Punch the husk into the fire and allow it to die from burning.
      6. 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.

        1. 2015-07-12_11.16.23.png
          298 kB
          Steven Robb
        2. 2015-07-12_11.16.46.png
          285 kB
          Steven Robb
        3. 2015-07-12_11.16.59.png
          318 kB
          Steven Robb
        4. setup.png
          1.08 MB
          [Mod] Avoma

            Unassigned Unassigned
            Avoma [Mod] Avoma
            Votes:
            11 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: