{ "type": "origins:action_over_time", "interval": 5, "entity_action": { "type": "origins:if_else", "condition": { "type": "origins:or", "inverted":true, "conditions": [ { "type": "origins:sneaking" }, { "type": "origins:fall_distance", "comparison": ">=", "compare_to": 4 }, { "type": "origins:in_block", "block_condition": { "type": "origins:block", "block": "minecraft:water" } } ] }, "if_action": { "type":"origins:execute_command", "command": "fill ~1 ~-1 ~1 ~-1 ~-1 ~-1 minecraft:frosted_ice replace water[level=0]" } }, "name":"Frost Walker", "description":"Water beneath you will turn into ice. Deactivates when you are falling, sneaking, or under the water." }