
# -> Operate on players
execute as @a[tag=!OverlyRealistic.Player.IsGhost] at @s run \
    function overly_realistic:general/main_loops/main_loop_5t_operate


# -> Check for dead animals
#execute as @e[type=#overly_realistic:animal_holder_entities,tag=OverlyRealistic.Animal.AnimalHolderEntity,x=0] \
    on vehicle \
    unless data entity @s {DeathTime:0s} \
    at @s run \
        function overly_realistic:animals/operations/animal_death/animal_die

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

# -> Loop
schedule function overly_realistic:general/main_loops/main_loop_5t 5t