
# -> If block above is a shut trapdoor then return success
execute if block ~ ~1 ~ #trapdoors[half=bottom,open=false] run \
    return 1

# -> If block above is an applicable stair then return success
execute if block ~ ~1 ~ #stairs[half=bottom] run \
    return 1

# -> If block above is an applicable slab then return success
execute if block ~ ~1 ~ #slabs[half=bottom] run \
    return 1

# -> If block above is air-exposeable then return failure
execute if block ~ ~1 ~ #overly_realistic:basket/air_exposeable run \
    return fail

# -> If block above is not air then return success
execute unless block ~ ~1 ~ air run \
    return 1

# -> Return failure
return fail