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