
# -> South
execute if score #or.global OverlyRealistic.General.ArbitraryData matches -45..45 run \
    return run \
        function overly_realistic:general/custom_blocks/tanning_rack/place_tanning_rack_e_w with entity @s data

# -> East
execute if score #or.global OverlyRealistic.General.ArbitraryData matches -134..-44 run \
    return run \
        function overly_realistic:general/custom_blocks/tanning_rack/place_tanning_rack_s_n with entity @s data

# -> West
execute if score #or.global OverlyRealistic.General.ArbitraryData matches 46..134 run \
    return run \
        function overly_realistic:general/custom_blocks/tanning_rack/place_tanning_rack_s_n with entity @s data

# -> North
function overly_realistic:general/custom_blocks/tanning_rack/place_tanning_rack_e_w with entity @s data
