
# -> Set existence value
scoreboard players set #or.fire_starter_existence OverlyRealistic.General.ArbitraryData 0

# -> Operate on fire starters
execute as @e[type=interaction,tag=OverlyRealistic.Block.FireStarter,scores={OverlyRealistic.General.ArbitraryData=1..},x=0] run \
    function overly_realistic:general/custom_blocks/fire_starter/fire_starter_operate_from_temp_loop

# -> Operate on players
execute as @a[scores={OverlyRealistic.World.FireStarterFireTime=1..},x=0] run \
    function overly_realistic:general/custom_blocks/fire_starter/fire_starter_operate_from_temp_loop_player

# -> Loop if possible
execute if score #or.fire_starter_existence OverlyRealistic.General.ArbitraryData matches 1 run \
    schedule function overly_realistic:general/custom_blocks/fire_starter/fire_starter_temp_loop 1t