-
Bug
-
Resolution: Duplicate
-
None
-
1.21
-
None
-
Unconfirmed
-
(Unassigned)
I'm trying to check when a player recieves an instant damage or harming effect, and cancel the effect before it triggers.
I'm using the effects changed advancement in a datapack, and I can cancel the effect if the origin is a command (the advancement triggers) however if i use any potion to apply the effect, the advancement does not trigger, and i can't cancel it.
I suppose this is because splash potions must use a special calculation to apply reduced healing or damage... but i can't see, why it could'nt work with normal drinkable potions
(Yes i need this for players who turn into zombies)
I attached the relevant files from my datapack.
- duplicates
-
MC-121429 effects_changed trigger does not trigger with instant_health, instant_damage, and saturation lingering, splash and drinkable potions
- Reopened