mojira.dev
MC-202432

Absorption effect does not go away even after the hearts are gone

The Bug

When you eat a golden apple and take some damage, the golden hearts take some damage and disappear, however the absorption effect does not go away.

Steps to Reproduce

  • Switch into survival mode and give yourself the absorption effect.

    /effect give @s minecraft:absorption 999 0
  • Consume the absorption hearts by taking some damage.

    /effect give @s minecraft:instant_damage 1 0
  • Take note as to whether or not the absorption effect is removed when all absorption hearts are consumed.

Observed Behavior

The absorption effect isn't removed when all absorption hearts are consumed.

Expected Behavior

The absorption effect would be removed when all absorption hearts are consumed.

Linked issues

Attachments

Comments 19

I can confirm for 20w46a.

Can confirm in 20w51a.

Can confirm in 21w03a.

9 more comments

Can confirm in 1.18.1.

Can confirm in 1.18.2 and 22w19a.

Can confirm in 1.19.2.

Whether an intentional fix or not, this issue is no longer reproducable. Tested in 23w31a.

[media]

[media]

I tested this in both 1.20.1 and 23w31a. It occurs in 1.20.1 but not in 23w31a, so it was indeed fixed in 23w31a.

SlicedBlock

(Unassigned)

Confirmed

Player, UI

1.16.4 Pre-release 1, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w51a, ..., 1.18.2, 22w19a, 1.19.2, 1.19.3, 1.20.1

23w31a

Retrieved