[MC-11578] zombies die when falling from height in 23 or 24 blocks instead of keeping 1/2 .. 1 heart of health Created: 11/Mar/13  Updated: 11/Jun/17  Resolved: 11/Mar/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.5
Fix Version/s: None

Type: Bug
Reporter: Dmitry Scvorsov Assignee: Unassigned
Resolution: Works As Intended Votes: 0
Labels: None
Environment:

OS: Windows 7 x86
Java ver: 1.7.17


Attachments: File Test_world.rar    
Confirmation Status: Unconfirmed

 Description   

-The expected health for a zombie falling off 24 blocks is 1/2 heart, but the zombie dies.
-zombies die when falling from height in 23 blocks (must have 2 unit of health)
-zombies have 2 units of health after falling from height in 22 blocks (must 3 units)
-zombies have 11 units of health after falling from height in 13 blocks (must 12 units)

Version Minecraft: 1.5 Pre-release



 Comments   
Comment by Anon Ymus [ 11/Mar/13 ]

It's decompiled code using MCP.

Comment by Anon Ymus [ 11/Mar/13 ]

You're right, it's not written correctly there.

Comment by Dmitry Scvorsov [ 11/Mar/13 ]

Kumasasa, is published this part of a code somewhere?

Comment by Dmitry Scvorsov [ 11/Mar/13 ]

I understood, the mistake isn't present. In minecraftwiki.net in my language of such information isn't present, there are written 22 units of health and 2 units of armor.
make sure and sorry me: http://ru.minecraftwiki.net/%D0%97%D0%BE%D0%BC%D0%B1%D0%B8

Comment by Kumasasa [ 11/Mar/13 ]
EntityZombie.java
public int getMaxHealth()
{
   return 20;
}
Comment by Tails [ 11/Mar/13 ]

No they don't, they have 2 armor points if that's what you mean. Read on here: http://www.minecraftwiki.net/wiki/Zombie

Comment by Dmitry Scvorsov [ 11/Mar/13 ]

sounds good, but from updating of 1.9pre3 (6 october 2011) zombies have 22 units of health (11 hearts)

Comment by Tails [ 11/Mar/13 ]

Fall damage can be calculated using this formula:

FD = number of blocks - 3

Zombie health: 20 points.
24-3=21 fall damage - zombie dead - as expected
23-3=20 fall damage - zombie dead - as expected
So what's the bug?

Comment by Kumasasa [ 11/Mar/13 ]

The expected health for a zombie falling off 24 blocks is 1/2 heart, but the zombie dies.
The expected health for a zombie falling off 23 blocks is 1 heart, but the zombie dies.
...

Comment by Dmitry Scvorsov [ 11/Mar/13 ]

There is a bug connected with the wrong calculation of a loss of health for falling zombies.
Zombies without armor have to die of falling from height in at least 25 blocks

Comment by Anon Ymus [ 11/Mar/13 ]

Sorry, I only speak English and French.

Comment by Dmitry Scvorsov [ 11/Mar/13 ]

есть модератор который сможет поговорить со мной на Русском языке?

Comment by Anon Ymus [ 11/Mar/13 ]

I'm not sure that I entirely understand what you think is a bug here.

Generated at Sun Jan 12 12:28:06 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.