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