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

Zombies with increased health don't deal damage

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 1.5, Minecraft 1.5.1
    • Fix Version/s: Snapshot 13w24b
    • Environment:
      Win 7 64 Bit, Java 7 64 Bit
    • Confirmation Status:
      Plausible
    • Game Mode:
      Survival

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              dinnerbone [Mojang] Nathan Adams
              Reporter:
              bonehead Sascha Baer
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                CHK: