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