
# -> Set layer
execute if block ~ ~ ~ water[level=7] run \
    return run \
        setblock ~ ~ ~ water[level=6] strict
execute if block ~ ~ ~ water[level=6] run \
    return run \
        setblock ~ ~ ~ water[level=5] strict
execute if block ~ ~ ~ water[level=5] run \
    return run \
        setblock ~ ~ ~ water[level=4] strict
execute if block ~ ~ ~ water[level=4] run \
    return run \
        setblock ~ ~ ~ water[level=3] strict
execute if block ~ ~ ~ water[level=3] run \
    return run \
        setblock ~ ~ ~ water[level=2] strict
execute if block ~ ~ ~ water[level=2] run \
    return run \
        setblock ~ ~ ~ water[level=1] strict
execute if block ~ ~ ~ water[level=1] run \
    return run \
        setblock ~ ~ ~ water[level=0] strict
