{ "criteria": { "on_took_damage": { "trigger": "minecraft:tick", "conditions": { "player": [ { "condition": "minecraft:entity_scores", "entity": "this", "scores": { "fz.event.damage_taken": { "min": 1 } } } ] } } }, "rewards": { "function": "fz:event/player/on_took_damage" } }