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

Zombies with increased health don't deal damage


    • Icon: Bug Bug
    • Resolution: Fixed
    • Snapshot 13w24b
    • Minecraft 1.5, Minecraft 1.5.1
    • Win 7 64 Bit, Java 7 64 Bit
    • Plausible
    • Survival

      While I was mapmaking I was creating a Zombie Boss mob with increased Health (200 Hitpoints/100 Hearts). When I was testing it I realized that the Zombie was unable to deal any damage to me even though he was hitting me, while normal Zombies could. After some research I found out that Zombies apparently deal more damage the lower their health is.
      To fix this bug simply add an exception to the code where if a Zombie has more health than 20, it's treated as if it were 20.
      How to reproduce:
      Create a Zombie with extremely high Health value (in my case 200 instead of the normal 20) and let it hit you in Survival.

            dinnerbone [Mojang] Nathan Adams
            bonehead Sascha Baer
            3 Vote for this issue
            2 Start watching this issue