# Move
function mrcd:ray_tick
# Gavity for the arch trajectory
execute if score @s[tag=!mrcd_touch_y_plus] mrcd_y0 matches -19999.. run scoreboard players remove @s mrcd_y0 50
execute if score @s[tag=!mrcd_touch_y_plus] mrcd_y0 matches ..-20001 run scoreboard players set @s mrcd_y0 -20000

tp @s[tag=mrcd_touch_y_plus] ~ ~.15 ~
execute if entity @s[tag=mrcd_touch_y_plus] run scoreboard players set @s mrcd_y0 0
kill @s[tag=mrcd_touch_edge,tag=!mrcd_touch_y_plus]
