{ "criteria": { "on_sneak": { "trigger": "minecraft:tick", "conditions": { "player": { "flags": { "is_sneaking": true } } } } }, "rewards": { "function": "fz:event/player/on_sneak" } }