Detecting Advancement Requirements
So I have this advancement and I'm wondering if there's a way to detect how many of the requirements have been met. For example, can you detect if a player has interacted with Ric and Thalric, or even just 2/5 of the villagers?
{ "parent": "qo_wingspan:daily/root", "criteria": { "Ric": { "trigger": "minecraft:player_interacted_with_entity", "conditions": { "entity": { "type": [ "minecraft:villager" ], "components": { "minecraft:custom_name": "Ric" } } } }, "Adric": { "trigger": "minecraft:player_interacted_with_entity", "conditions": { "entity": { "type": [ "minecraft:villager" ], "components": { "minecraft:custom_name": "Adric" } } } }, "Cedric": { "trigger": "minecraft:player_interacted_with_entity", "conditions": { "entity": { "type": [ "minecraft:villager" ], "components": { "minecraft:custom_name": "Cedric" } } } }, "Thalric": { "trigger": "minecraft:player_interacted_with_entity", "conditions": { "entity": { "type": [ "minecraft:villager" ], "components": { "minecraft:custom_name": "Thalric" } } } }, "Fenric": { "trigger": "minecraft:player_interacted_with_entity", "conditions": { "entity": { "type": [ "minecraft:villager" ], "components": { "minecraft:custom_name": "Fenric" } } } } }, "requirements": [ [ "Ric" ], [ "Adric" ], [ "Cedric" ], [ "Thalric" ], [ "Fenric" ] ], "rewards": { "function": "qo_wingspan:ric_brothers" } }