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

# -> Reset vars
scoreboard players set #or.Raycast.RayRange OverlyRealistic.General.ArbitraryData 0
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/flint_and_steel/use_on_campfire/fns_raycast
