-
Bug
-
Resolution: Fixed
-
Minecraft 1.6.1, Minecraft 1.6.2, Minecraft 13w39b, Minecraft 14w20b, Minecraft 1.7.10, Minecraft 14w30c, Minecraft 14w31a, Minecraft 14w33c, Minecraft 14w34a, Minecraft 14w34b, Minecraft 14w34c, Minecraft 14w34d, Minecraft 1.8-pre1, Minecraft 1.8-pre2, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.3, Minecraft 15w44b, Minecraft 15w46a, Minecraft 1.8.9, Minecraft 16w02a, Minecraft 16w03a, Minecraft 16w06a, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3, Minecraft 1.9 Pre-Release 4, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 1, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.9.1, Minecraft 1.9.2, Minecraft 16w15b, Minecraft 1.10.2, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17a, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w05a, Minecraft 18w15a, Minecraft 1.13-pre7, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 1.14.1, 1.14.4, 19w42a, 1.15.2, 20w06a, 20w17a, 20w18a, 20w19a, 20w20b, 20w22a, 1.16 Pre-release 2, 1.16.1, 20w27a, 20w29a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2, 1.16.3, 1.16.4 Release Candidate 1, 1.16.4, 20w51a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w10a, 21w11a, 21w14a, 21w17a
-
Confirmed
-
Player
-
Normal
It's possible to have higher maximum health than actual health (see MC-16345) because the helth doesn't adequately update server-side when an attribute stops being applied.
In this state, when the player takes more damage than its max health, the client will show the death screen. However, since the maximum health has not actually been updated yet on the server side, the player doesn't die server-side. When the player then clicks "Respawn", the game continues as if the player hadn't died.
This is a client-server desync where on the client-side, the player dies, but server-side, it doesn't.
To reproduce
- Place a wither rose
- Switch into survival mode
- Give yourself this item:
/give @p dirt{AttributeModifiers:[{AttributeName:"generic.max_health",Name:"generic.max_health",Amount:20d,Operation:0,UUID:[I;0,1,2,3],Slot:"mainhand"}]}
- Select the dirt block
- Run this command to fill your health:
/effect give @p minecraft:instant_health 1 3
- Deselect the dirt block
- Walk into the wither rose
→ You die immediately (because the server sends to the client "decrease health by 20 because max health changed")
→ On the death screen, you continue to take damage - Click "Respawn"
→ You don't respawn, but are still at the same location as if nothing happened
These actions can also cause this bug from being triggered, apart from being damaged by a wither rose:
- Instant health effect
- Instant damage effect
- Poison effect
- Suffocation
- Drowning
- Starvation (Hunger)
- Hitting a wall with elytra
- is duplicated by
-
MC-20539 Upon death, clicking 'Repawn' sometimes results in the player stuck in the death stance.
- Resolved
-
MC-24703 False death.
- Resolved
-
MC-25051 when i die sometimes, it displays a graphical bug for my player
- Resolved
-
MC-28215 Death, without dieing
- Resolved
-
MC-28254 fake death message with negative maxhealth and /effect
- Resolved
-
MC-29319 Instant health causes "fake" damage after negative maxHealth modifier applied
- Resolved
-
MC-33827 Fake Death
- Resolved
-
MC-38494 Added health death bug
- Resolved
-
MC-42075 Taking Lethal Damage with Negative Max Health Only Sort of Kills the Player
- Resolved
-
MC-55404 Equiping Items through dispensers is causing death effect
- Resolved
-
MC-68775 Buggy Armor Health Boost
- Resolved
-
MC-78442 Dead Player Model Bug is Back
- Resolved
-
MC-81691 Fake death by MaxHealth attribute
- Resolved
-
MC-92251 Good potions are hurting you.
- Resolved
-
MC-93097 Elytra fake death
- Resolved
-
MC-94203 When you lose health and have the 'instant health effect'
- Resolved
-
MC-96679 Death Error
- Resolved
-
MC-96975 death bug
- Resolved
-
MC-98629 Poison fake death
- Resolved
-
MC-98633 Instant Health fake Death
- Resolved
-
MC-100167 Weird staying
- Resolved
-
MC-101017 You can walk around dead by using commands
- Resolved
-
MC-105008 Death Bug (With Video!)
- Resolved
-
MC-107865 Armor that brings your health to half a heart
- Resolved
-
MC-107935 Fake death screen after taking poison damage with reduced base health
- Resolved
-
MC-108645 Fake Deathscreen
- Resolved
-
MC-112495 Constantly having dying animation while in live
- Resolved
-
MC-124708 Instant heal would kill your after lowering your max hp
- Resolved
-
MC-141365 Health attribute with a negative value, "kills" player
- Resolved
-
MC-153585 Fake death screen when using hp altering items
- Resolved
-
MC-158547 dying while moving
- Resolved
-
MC-163865 death screen without dying when you had extra hearts and get damage (not enough for dying)
- Resolved
-
MC-166812 Excess health does not change properly after updating health
- Resolved
-
MC-168454 Death Screen without diying using max health atribute
- Resolved
-
MC-180434 Blocked player on death
- Resolved
-
MC-180777 1 hearth.. But it looks for me it's more..
- Resolved
-
MC-182382 Reducing attribute generic.max_health and taking damage results in death message while still alive
- Resolved
-
MC-184232 Players with modified Health attribute falsely die
- Resolved
-
MC-184365 Double life
- Resolved
-
MC-187286 When you mess with elytra and poison, you can get into a weird state of the death animation over and over again. (It takes a few tries to do though)
- Resolved
-
MC-187687 Death issues
- Resolved
-
MC-188104 When modifying player's max health attribute, taking damage causes the player to 'die' and infinitely play the death animation
- Resolved
-
MC-197297 fake_death when using attribute modifier
- Resolved
-
MC-198496 Dead and alive
- Resolved
-
MC-199397 Max health is broken
- Resolved
-
MC-201442 Using a potion made by a command block results in the death screen popping up and a annoying visual bug.
- Resolved
-
MC-201740 Healing potion weirdly causes you to keep (sort of) dying with 1 max health attribute
- Resolved
-
MC-206649 Fake death screen
- Resolved
-
MC-212574 Unknown "Death" Glitch
- Resolved
-
MC-216052 Fake death screen with hp altering items
- Resolved
-
MC-219010 Attribute generic.max_health bug
- Resolved
-
MC-222930 Undead player
- Resolved
-
MC-225968 There is a minecraft error that when you die out of nowhere the character is affected and you open the inventory there is also another error, that the character is on the wrong side
- Resolved
-
MC-255085 Player gets stuck in dying state when getting big health boost
- Resolved
- relates to
-
MC-119183 Instant health potion kills player when health modifier brings health at or below 1E-46
- Resolved
-
MC-182791 You are still alive if your max health is 0
- Reopened
-
MC-16345 Reducing the player's base max health using /attribute does not always reduce their current health
- Resolved
-
MC-92633 Items reducing player health to 0 prevent player from respawning
- Resolved
-
MC-133373 Strange 0HP bug under certain circumstances
- Resolved
-
MC-179863 Setting attribute minecraft:generic.max_health value to 0 or lower causes an infinite death loop after dying
- Resolved