
# -> Reset existence value
scoreboard players set #or.thrown_spear_exists OverlyRealistic.General.ArbitraryData 0

# -> Operate on spears
execute as @e[type=item_display,tag=OverlyRealistic.Item.SpearDisplayEnt] at @s run \
    function overly_realistic:general/spears/spear_operate_1t

# -> If thrown spears exist then loop
execute if score #or.thrown_spear_exists OverlyRealistic.General.ArbitraryData matches 1 run \
    schedule function overly_realistic:general/spears/continuous/spear_thrown_loop 1t append
