Mojira Archive
MC-179852

Player health doesn't sync properly with /attribute minecraft:generic.max_health

Expected: Command below would set my health to half heart, and 20 would set my health to 10 hearts

/attribute @p minecraft:generic.max_health base set 1
/attribute @p minecraft:generic.max_health base set 2
/attribute @p minecraft:generic.max_health base set 3
/attribute @p minecraft:generic.max_health base set 4

Observed:

1 and 2 both set it to a full heart, 3 and 4 both set it to 2 full hearts

Duplicate

Kaley Obsidia

2020-04-22, 06:27 PM

2023-08-04, 12:10 PM

2020-04-23, 04:37 AM

6

5

Confirmed

(Unassigned)

20w17a

-