mojira.dev
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.

 

Comments 2

Thank you for your report!
We're tracking this issue in MC-121429, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.

Snap Doomy

(Unassigned)

Unconfirmed

(Unassigned)

22w19a

Retrieved