Mojira Archive
MC-182497

Absorption can be permanently retained

In my case,it's good to make a player inherit low level effect after high level effect.It is good for map makers.But now there is something wrong.

For instance.If a player has absorption III, give him absorption II for a longer time at this time. When absorption III ends, the player will continue to have the effect of absorption II, and have the health increased by absorption III. After absorption II ends, only the amount of health increased by absorption II will be deducted, and the player will always retain the health increased by III more than that increased by II.

How to reproduce (Commands)

  1. /effect give @s minecraft:absorption 15 0
  2. /effect give @s minecraft:absorption 10 1
  3. Wait for 10 seconds
    The effect completely ends and 2 absorption hearts remain.
  4. Leave and join the world again
    The hearts are still there, so it is not a client side glitch.

How to reproduce (Survival)

  1. Eat an enchanted golden apple
  2. Eat a normal golden apple
  3. Wait for 2 minutes
    The effect completely ends and 6 absorption hearts remain.
  4. Leave and join the world again
    The hearts are still there, so it is not a client side glitch.

Expected Behaviour

After the shorter effect of 10 seconds ended, the longer effect of 15 seconds should continue, and the 2 extra hearts should be removed after the second effect ended.

Fixed

vake_gamer

[Mojang] SystemInvecklare

2020-05-05, 09:41 AM

2023-08-04, 03:36 PM

2023-07-04, 12:47 PM

9

8

Confirmed

Very Important

Gameplay

Player

absorption

1.15.2 - 1.19.41.15.2, 20w18a, 20w19a, 1.16.1, 20w29a, 1.16.2, 20w46a, 20w51a, 21w03a, 1.16.5, 21w08b, 21w17a, 1.17.1, 1.18.2, 1.19.2, 1.19.3, 1.19.4

23w31a