{ "criteria": { "death_counter": { "trigger": "minecraft:tick", "conditions": { "player": [ { "condition": "minecraft:entity_scores", "entity": "this", "scores": { "deathTester": { "min": 1 } } } ] } } }, "rewards": { "function": "fz:scoreboards/deathcounter/calculator" } }