Mojira Archive
MC-251850

effects_changed won't trigger from instant_health or instant_damage splash potions

The Bug:

 

When you are given instant_health or instant_damage via a splash potion, the effects_changed advancement trigger does not work.

 

Reproduction Steps:

 

1) Add an advancement that detects either instant_health or instant_damage, it can reward you with some experience to test that it works:

 

{
  "criteria": {
    "requirement": {
      "trigger": "minecraft:effects_changed",
      "conditions": {
        "effects": {
          "minecraft:instant_health": {}
        }
      }
    }
  },
  "rewards": {
    "experience": 123
  }
} 

2) Join a new world

3) Splash yourself with an instant_health potion

4) Watch as you don't get the experience from the reward because the effects_changed advancement trigger doesn't trigger from instant_health / instant_damage potions

What happens:

 

I splash a potion of instant_health or instant_damage and the effects_changed advancement trigger doesn't trigger.

 

What I expected to happen:

 

I splash a potion of instant_health or instant_damage and thee effects_changed advancement trigger triggers.

 

Duplicate

Snap Doomy

2022-05-18, 07:23 AM

2022-05-19, 03:27 PM

2022-05-19, 03:21 PM

0

0

Unconfirmed

(Unassigned)

22w19a

-