mojira.dev
MC-16773

Players spawn with 20 health, not with maximum health.

I made an armor that takes 10 health then I died with the armor in my hand (gamerule keepInventory was true) and respawned with it in my hand too, and my health was 20!
I don't know if it's a feature or a bug.
Also, if I wear the armor my maximum health doesn't change, only if I hold it the max health changes.

Linked issues

Comments

Nathan Adams

It's because you respawn before getting that item to increase your health. Consider it working as intended for the current time being until we have more control over how attribute modifiers are applied.

KingSupernova

Relates to MC-16345. I really hope this gets fixed eventually, it is a huge problem when using attributes.

Richard de Souza Bukor

Nathan Adams

Unconfirmed

armor, attribute, attributes, health, respawn

Snapshot 13w21a, Snapshot 13w21b

Retrieved