
# -> If block is inside a non-full block then try moving it up
execute if block ~ ~ ~ #overly_realistic:non_full_blocks_upward run \
    tp @s ~ ~1 ~

# -> Attempt placing the block
execute at @s \
    align xyz \
    positioned ~0.5 ~0.5 ~0.5 run \
        function overly_realistic:general/custom_blocks/support_beam/support_beam_placed
