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

Mobs summoned with no health (Health:0f) do not drop loot

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: Minecraft 17w18b, Minecraft 1.12 Pre-Release 1, Minecraft 1.12 Pre-Release 2, Minecraft 1.12 Pre-Release 3, Minecraft 1.12 Pre-Release 4
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed

      Description

      The bug

      Mobs summoned with no health (Health:0f) will not drop any loot.

      I expected that mobs summoned this way drop loot.

      Steps to reproduce

      Summon a mob with Health:0f in their NBT tag

      /summon zombie ~ ~ ~ {Health:0f}
      

      For comparison summoning a mob with health then killing it will drop loot

      /summon zombie ~ ~ ~ {Health:1f}
      

        Attachments

          Activity

            People

            • Assignee:
              jeb [Mojang] Jeb (Jens Bergensten)
              Reporter:
              muksterz mukster z
            • Votes:
              5 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: