According to the minecraft wiki, this article specifically: https://minecraft.fandom.com/wiki/Armor/Old
and this one, where the one above is linked and referred to:
https://minecraft.fandom.com/wiki/Armor#Damage_protection
Bedrock edition uses a different system from java edition, unlike what has been said by a mod in this report:
MCPE-174871
And while for the zombie the damage values more or less align with what should be correct according to that "old"/bedrock system (where iron swords deal 2.8 damage, so 1.5 hearts, on iron armor), they are incorrect on the player, regardless which system is applied (on the "old" one it should be 1.5 hearts on nearly all hits, on the "newer" one the THIRD hit should be dealing 1.5 hearts of damge, not the first one, and by hit 5 the player should be on 0.5 hearts of health, but he isn't)
I am also fully aware that I reported this bug before (I literally linked the old report here), but since its incorrectly marked as "resolved" with the mod claiming no bug is in place, I decided to make a new report, as there is a bug in place and the only reason the mod is claiming otherwise is seemingly due to an inability to differentiate between bedrock and java edition.
Additionally, even IF the "old" system isn't the one bedrock uses (even though it has to be due to the lack of armor toughness as a ingame value on bedrock and the fact that the MOD is the one who provided the wiki link as a source in the old report), damage values dealt to mobs and player should not be different unless regeneration is involved with the player (it is not in this case, as it has been turned off for test purposes when I made the player clip).
In other words: regardless which damage values are wrong, either the players or the zombies ones are working incorrectly, and in the worst case scenario both are incorrect.
This also makes it take more hits to kill a zombie than it takes to kill a player, despite the weapons and armor used being literally the same.
Steps to reproduce:
get an iron sword
hit a player, who is wearing full iron armor, with said sword
repeat this with a zombie who is wearing full iron armor, with the same sword
Observed results:
On the player, most hits deal 2 full hearts of damage, and the zombie receives less damage per hit than the player.
Expected results:
Each hit deals approximately 1.5 hearts of damage, and the damage the player and the zombie receive is the same.
Attachments
Comments 3
If the minecraft wiki is not an official source, what is then? And if its not an official source, why did a mod refer me to it in that old report?
Hi Adrian,
I regret that my comment on your other report caused confusion. I should have explained that I was citing the section of the wiki on damage calculation because that section happens to have a full and correct explanation of the mathematics. I was not meaning to point you to the wiki as an authoritative source for everything about the game. The wiki is not official game documentation and it is not maintained or checked or endorsed by Mojang. It is maintained by a player community. Unfortunately, parts of it are outdated or just false. The section you have cited (https://minecraft.fandom.com/wiki/Armor/Old) and the link to it from the section I cited have not been updated in a long time. Bedrock Edition was given toughness and the newer armor mechanics in version 1.18.30. Here is a link to the 1.18.30 changelog. I will admit that I didn't even notice the link to the old mechanics saying "Bedrock Edition" because I am so used to skipping past the outdated links and info. I am sorry that I led you down a rabbit hole.
My comment on your other report was also brief because I had found the older report about initial hits showing lower damage (MCPE-166688), and I intended to follow up on that one after resolving yours as a duplicate. You can see my findings on that report now. In short, it turns out we had both made an assumption about rounding that differs from how the game determines how many hearts to display.
Minecraft rounds up displayed health to the nearest half-heart, while keeping track of actual health internally as a floating-point (decimal) number. In other words, you only lose a half-heart on-screen when you fully lose that health point. You do not lose a half-heart when you lose more than half the health point that it represents.
For example, a first hit of 2.99999 damage brings the player to 17.00001 health, and that will show as 9 hearts, or 1 heart of damage for that hit, because 17 < 17.00001 <= 18. A second hit of 2.99999 brings the player down to 14.00002 health, and that will show as 7.5 hearts of total health, or 1.5 hearts of damage for that hit, because 14 < 14.00002 <= 15.
On this report you've raised a new issue, the difference between damage calculations for zombies and players. This difference is due to zombies having 2 natural armor points in addition to any armor that they wear. All zombie variants have this natural armor (zombie, zombie villager, drowned, husk, and zombified piglin). This accounts for iron sword vs. full iron armor taking 6 hits to kill a player and 7 hits to kill a zombie.
I made a spreadsheet to help my own investigation of the initial hit issue that you raised. Here is polished up version that you can use for calculating damage and displayed hearts.
[media]
Please note that the Wiki is not an official source of game behavior.
In order to determine if this is really a bug, please add the following information to the Description, as shown here:
Use screenshots or video to help explain (but not replace) the above information
This report has been temporarily resolved as Awaiting Response. It will automatically reopen when you add information. Please follow the format shown and include all sections (steps, observed, expected). Reports that do not contain all of the requested information and complete steps to reproduce the issue may be closed as Incomplete. For more information please read the Bug Tracker Guidelines.
You may find this Report Creation Form helpful for any future reports you create.