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

Advancement Trigger "minecraft:consume_item" Functions Incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.17 Pre-release 1
    • None
    • Windows 10, Java 16.0.1
    • Unconfirmed
    • (Unassigned)

      When having multiple advancements that use the "minecraft:consume_item" trigger, all advancements with that Trigger activate simultaneously, even with different item conditions.

      For example, I'm currently working on a Datapack that has items do special effects. As such, I have multiple Advancements for triggering function commands. Despite them all having differing conditions, like requiring custom food or glow berries , instead of triggering only the one just consumed, consuming either of them triggers both of the advancements. This happens even after you clear advancements from a player.

      The file attached shows the commands involved in the example, and how despite not interacting, they somehow trigger both commands, plus others that I've made.

            Unassigned Unassigned
            SandMeAMan Adam
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: