-
Bug
-
Resolution: Fixed
-
Minecraft 1.9.1 Pre-Release 3, Minecraft 1.10.2, Minecraft 16w42a, Minecraft 16w43a, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w07c, Minecraft 1.13.1, 1.16.1, 20w46a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w11a
-
None
-
Confirmed
-
UI
The bug
The check to see if the player's hearts should shake only takes into account the actual health bar, not any health granted by the absorption status effect.
Steps to Reproduce by Darth Cobby
- Ensure you are in survival or adventure mode:
/gamemode survival
- Disable natural regeneration:
/gamerule naturalRegeneration false
- Damage yourself by running the following command three times:
/effect give @s instant_damage
→ Your health bar begins to shake
- Give yourself the absorption status effect:
/effect give @s absorption
→ Your health bar continues to shake, despite your total health being greater than 4
Code analysis
Code analysis by bemoty can be found in this comment.