{ "parent": "fz:sneak", "criteria": { "on_unsneak": { "trigger": "minecraft:tick", "conditions": { "player": { "flags": { "is_sneaking": false }, "type_specific": { "type": "player", "advancements": { "fz:sneak": true } } } } } }, "rewards": { "function": "fz:event/on_unsneak" } }