{ "criteria": { "on_used_tool": { "trigger": "minecraft:tick", "conditions": { "player": [ { "condition": "minecraft:reference", "entity": "this", "name": "fz:used_tool" } ] } } }, "rewards": { "function": "fz:event/player/on_used_tool" } }