Details
-
Bug
-
Resolution: Unresolved
-
None
-
20w17a, 20w18a, 20w19a, 20w20b, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w29a, 1.16.2, 20w46a, 20w51a, 21w03a, 1.16.5, 21w06a, 21w08b, 21w15a, 21w16a, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w19a, 1.19, 1.19.1 Pre-release 5, 1.19.2, 1.19.3, 23w03a
-
Confirmed
-
Commands
-
Low
Description
The Bug
When you modify your max health attribute and then die, your max health resets back.
How to reproduce
- Set your max health to something other than 20
/attribute @s generic.max_health base set 10
- Kill yourself
/kill @s
- Respawn
- Check your max health
/attribute @s generic.max_health base get
It says 20 when it should match the max health value
Attachments
Issue Links
- is duplicated by
-
MC-179831 Problem with the attribute command
- Resolved
-
MC-179984 Respawning after modifying base max_health attribute leaves HP at 20
- Resolved
-
MC-180102 /Atrribute command bug
- Resolved
-
MC-180128 attributes reseted after death or not applying
- Resolved
-
MC-180147 command
- Resolved
-
MC-180437 Attribute command isn't permanent
- Resolved
-
MC-180517 Attributes are lost on death in 20w17a
- Resolved
-
MC-181415 Attribute minecraft:generic.max_health resets everytime you die
- Resolved
-
MC-183311 Attributes not retained after death
- Resolved
-
MC-184526 Attributes applied to a player using the attribute command are reset upon death
- Resolved
-
MC-191962 Attributes don't work after death
- Resolved
-
MC-195046 attribute bug
- Resolved
-
MC-195047 Attribute generic max health bug
- Resolved
-
MC-197762 Player's max health doesn't render correctly right after respawning
- Resolved
-
MC-245886 attribute change to players is not kept after respawn
- Resolved
- relates to
-
MC-179945 An increased max health attribute causes ghost hearts to appear after death
- Resolved
-
MC-180001 Reducing max health using /attribute does not reduce current health
- Open
-
MC-195830 Base of "generic.movement_speed" attribute is reset for players after relogging the world
- Open