Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-251850

effects_changed won't trigger from instant_health or instant_damage splash potions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 22w19a
    • None
    • Unconfirmed
    • (Unassigned)

      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.

       

            Unassigned Unassigned
            snaplingdd Snap Doomy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: