how to make advancements for using item mutually exclusive when one has nbt and another doesn't
my issue is: i have team items with item name and custom data, and team items intended to be anvilled to a custom name. if i anvil an item name item, it triggers both advancements.
how do i get the advancements to be more exclusive? right now i changed the anvil item to a different food and that works. but i want them to be the same food.
so, one item: custom name only, empty nbt
another item: item name, lore, custom data
i could only get the nbt item to work if i put the predicate inside the advancement, or else it triggered all of them regardless of the outside predicate. it won't work if i use components. likewise, i couldn't get the custom name item to disallow nbt. i couldn't use !minecraft:customdata to make sure it didn't have a field at all. it wouldn't run.
how can i have both items work by themselves without overlapping when one has a custom name and the other doesn't? if i set the other one to have a custom name too, then it'd stop working if it got anvilled.
Continue to help post