
# -> Check for entities
execute at @a[tag=!OverlyRealistic.Player.IsSick, distance=..4, tag=!OverlyRealistic.Player.IsDeity] run \
    function overly_realistic:general/godhood/power_actions/cure/cure_player

# -> Check for block collision
execute unless block ~ ~ ~ #air run \
    return run \
        particle happy_villager ~ ~ ~ 1 1 1 0.001 5 normal @a

# -> Increment raycast
scoreboard players add #or.Raycast.RayRange OverlyRealistic.General.ArbitraryData 1

# -> Loop
execute unless score #or.Raycast.RayRange OverlyRealistic.General.ArbitraryData matches 200.. \
    positioned ^ ^ ^0.5 run \
        function overly_realistic:general/godhood/power_actions/cure/cure_raycast_travel
