
# -> Reset vars
scoreboard players set #or.Raycast.RayRange OverlyRealistic.General.ArbitraryData 0
scoreboard players set #or.global OverlyRealistic.General.ArbitraryData 0

# -> Create ray
execute positioned ~ ~1 ~ \
    anchored eyes \
    positioned ^ ^ ^ \
    anchored feet run \
        function overly_realistic:mobs_general/sky_check/ray_travel

# -> Success check
execute if score #or.global OverlyRealistic.General.ArbitraryData matches 1 run \
    return 0
return 1
