-
Bug
-
Resolution: Duplicate
-
None
-
20w17a, 20w18a, 20w19a, 20w20b, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Release Candidate 1, 1.16, 1.16.1, 1.16.2 Pre-release 1, 1.16.4, 20w51a, 21w03a, 1.16.5, 21w06a, 21w15a, 1.17 Pre-release 1, 1.17, 1.17.1, 21w39a, 1.18.1, 1.19.2, 1.19.3 Release Candidate 3, 1.19.3, 23w03a, 1.19.4, 23w18a, 1.20.1
-
None
-
Confirmed
-
Commands
-
Low
Summary:
Using /attribute to change minecraft:generic.max_health base value to a value lower than the Health value does not reduce the Health value as would be expected.
Repo Steps:
Create a new world and run:
/attribute @s minecraft:generic.max_health base set 1
Expected Result:
Only 1, half-filled heart container visible.
Actual Result:
Only 1, fully filled heart container visible.
Verifying:
Running the following will show a value of 20.0f:
/data get entity @s Health
- duplicates
-
MC-16345 Reducing the player's base max health using /attribute does not always reduce their current health
- Resolved