{ "criteria": { "kill_counter": { "trigger": "minecraft:player_killed_entity", "conditions": { "player": [ { "condition": "minecraft:inverted", "term": { "condition": "minecraft:entity_scores", "entity": "this", "scores": { "carpetBot": { "max": 1, "min": 1 } } } } ] } } }, "rewards": { "function": "fz:scoreboards/killcounter/calculator" } }