
# -> Reset adv trigger
advancement revoke @s only overly_realistic:items/strip_spruce_log

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

# -> Get player block interaction range
execute store result score #or.Raycast.RayRangeMax OverlyRealistic.General.ArbitraryData run \
    attribute @s block_interaction_range get 10

# -> Raycast
execute anchored eyes positioned ^ ^ ^ anchored feet run \
    function overly_realistic:players/items/axe_use_on_logs/log_raycast_travel
