Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-82298

Lava or fall damage kill gives XP but does not update killEntity stat, player kill or not?

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.8.7, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 1.12 Pre-Release 6, 20w07a
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      When a mob is punched and jumps into lava above its head it will die and drop XP, indicating a player kill. It is also possible to get multiple and rare drops if using a Fortune enchanted weapon.

      However the statistic for the mob is not updated to show the kill, which would seem to indicate that this is not a player kill.

      In the screenshots the zombie is punched into the lava, dies, and drops XP, but the stat (which I can't screenshot unfortunately) doesn't update.

      Repro steps:

      /scoreboard objectives add ckill minecraft.killed:minecraft.creeper
      /scoreboard objectives setdisplay sidebar ckill

      Kill a creeper, observe the objective go up by 1

      /summon minecraft:creeper ~ ~ ~ {Health:2f}

      Punch the summoned creeper into lava
      Observe xp and items drop without the objective going up

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              stefrobb Steven Robb
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                CHK: