Mojira Archive
MC-212696

Health does not actually update when holding an item with the max health attribute.

The Scenario: I switch to an item with a max health modifier of -19.

Expected behavior: My health updates to half a heart, both visually and physically.

Actual behavior: My health bar visually went down to a full heart, but the actual value stayed at 20 until I took damage. Taking damage in this state will finally set it to half a heart, both visually and physically.

 

This effectively breaks an item I wanted to create, which makes it so you get one-shot by every attack, but can one-shot anything else. Having it show up as a full heart until you've already gotten hurt lowers the tension of the situation.

Duplicate

Shock Micro

2021-01-24, 08:51 AM

2023-08-04, 12:10 PM

2021-01-25, 09:38 AM

0

0

Unconfirmed

(Unassigned)

21w03a, 1.16.5

-