If a players generic.max_health is set to a base of 1 every game tick, the game doesn't set the players health data to 1.0 when the player respawns
If you put /attribute @p minecraft:generic.max_health base set 1 into a repeating command block that is always active. Then, type /kill in chat to kill yourself. Next, you want to respawn. This will make the player's health bar show half a heart. Then, fall off of a cliff that is at least 10 blocks high. If done correctly, the play will take fall damage but won't die even at half a heart.
Created Issue:
If a players generic.max_health is set to a base of 1 every game tick, the game doesn't set the players health data to 1.0 when the player respawns
If you put /attribute @p minecraft:generic.max_health base set 1 into a repeating command block that is always active. Then, type /kill in chat to kill yourself. Next, you want to respawn. This will make the player's health bar show half a heart. Then, fall off of a cliff that is at least 10 blocks high. If done correctly, the play will take fall damage but won't die even at half a heart.
i won't look as good because i have a potato pc
Thanks for letting me know that the bug was a duplicate report.
duplicates
Looking at the video you seem to be playing with OptiFine, which is a modified minecraft client. If the issue is still present in vanilla, please update the post to showcase it.
Also, based off the described behavior of
MC-184215(which seems very similar to this issue) this looks like a duplicate ofMC-16345.This is technically a duplicate report, and it happens in unmodified vanilla Minecraft