Mojira Archive
MC-226525

Advancement Trigger "minecraft:consume_item" Functions Incorrectly

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.

Invalid

Adam

2021-05-27, 10:03 PM

2022-10-13, 10:51 AM

2021-05-27, 10:30 PM

1

3

Unconfirmed

(Unassigned)

1.17 Pre-release 1

-