
# -> Remove targeter entities that are not on animals
kill @e[type=piglin_brute,tag=OverlyRealistic.TargeterEntity,predicate=!overly_realistic:global/entity_on_vehicle]

# -> Day/Night cycle
function overly_realistic:general/day_night_cycle/increase_time

# -> Operate on shooting stars
execute as @e[type=text_display,tag=OverlyRealistic.Celestial.IsShootingStar,x=0] at @s run \
    function overly_realistic:general/celestial_bodies/shooting_star/shooting_star_looping_operate

# -> Loop
schedule function overly_realistic:general/main_loops/main_loop_3t 3t