
# -> If it is raining, then operate on campfires
execute if predicate overly_realistic:world/weather/is_raining_thundering \
    as @e\
        [\
            type=marker,\
            tag=OverlyRealistic.CampfireBlock,\
            scores={OverlyRealistic.World.CampfireFireTime=1..},\
            predicate=overly_realistic:player/temperature/is_outside,\
            x=0\
        ] \
    at @s run \
        function overly_realistic:general/campfires/rain_operation/campfire_under_rain

# -> Function tag
function #overly_realistic:general_loops/main_110t

# -> Loop (5.5 sec)
schedule function overly_realistic:general/main_loops/main_loop_110t 110t