-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
Expected behavior
Having an active effect that has an higher amplifier and consuming the same effect with an lower amplifier should store the lower one as hidden effect to start ticking it later after the higher one expired.
Observed/Actual behavior
The lower amplifier effect gets cleared and never starts ticking after the higher one is expired.
Steps/models to reproduce
- Trigger the "Totem of Undying" wich gives 5 seconds of absorption 2.
- Immediately after that, consume a golden apple.
- When the absorption effect from the totem of undying expires the golden apple effect doesn't start ticking.
Example regeneration and /effect command:
- First get an regeneration potion
- Apply the following effect with /effect give minecraft:regeneration 30 2
- Immediately consume the regeneration potion
- After the regeneration 2 effect expires the potion effect doesn't start.
Plugin and Datapack List
Paper version
Other
Status effects from consumed items (such as potions or golden apples) are incorrectly discarded if a higher-level version of the same effect is already active (e.g. via /effect or a Totem of Undying). Once the higher-level effect expires, the lower-level effect never starts – despite this being the expected behavior in vanilla Minecraft.
This differs from vanilla, where if two effects of the same type but different levels are applied, the stronger one takes precedence until it expires, and then the weaker one begins.
I don't know if this is the correct way to fix it but maybe it gives an idea of what is wrong gommehdnet/cheetah@8889880