execute as @e[type=minecraft:zombie,tag=!not_mob1,sort=random] at @s run function darkmobs:zombie
execute as @e[type=minecraft:skeleton,tag=!not_mob1,sort=random] at @s run function darkmobs:skeleton
execute as @e[type=minecraft:spider,tag=!not_mob1,sort=random] at @s run function darkmobs:spider
execute as @e[type=minecraft:witch,tag=!not_mob1,sort=random] at @s run function darkmobs:witch
execute as @e[type=minecraft:magma_cube,tag=!not_mob1,sort=random] at @s run function darkmobs:magma_cube
execute as @e[type=minecraft:blaze,tag=!not_mob1,sort=random] at @s run function darkmobs:blaze
execute as @e[type=minecraft:cave_spider,tag=!not_mob1,sort=random] at @s run function darkmobs:cave_spider
execute as @e[type=minecraft:enderman,tag=!not_mob1,sort=random] at @s run function darkmobs:enderman
execute as @e[type=minecraft:zombified_piglin,tag=!not_mob1,sort=random] at @s run function darkmobs:zombified_piglin
execute as @e[type=minecraft:ghast,tag=!not_mob1,sort=random] at @s run function darkmobs:ghast
execute as @e[type=minecraft:vindicator,tag=!not_mob1,sort=random] at @s run function darkmobs:vindicator
execute as @e[type=minecraft:evoker,tag=!not_mob1,sort=random] at @s run function darkmobs:evoker
execute as @e[type=minecraft:zombie_villager,tag=!not_mob1,sort=random] at @s run function darkmobs:zombie_villager
execute as @e[type=minecraft:husk,tag=!not_mob1,sort=random] at @s run function darkmobs:husk
execute as @e[type=minecraft:stray,tag=!not_mob1,sort=random] at @s run function darkmobs:stray
execute as @e[type=minecraft:wither_skeleton,tag=!not_mob1,sort=random] at @s run function darkmobs:wither_skeleton
execute as @e[type=minecraft:wither,tag=!not_mob1,sort=random] at @s run function darkmobs:wither
execute as @e[type=minecraft:ravager,tag=!not_mob1,sort=random] at @s run function darkmobs:ravager
execute as @e[type=minecraft:guardian,tag=!not_mob1,sort=random] at @s run function darkmobs:guardian
execute as @e[type=minecraft:hoglin,tag=!not_mob1,sort=random] at @s run function darkmobs:hoglin
execute as @e[type=minecraft:elder_guardian,tag=!not_mob1,sort=random] at @s run function darkmobs:elder_guardian
execute as @e[type=minecraft:warden,tag=!not_mob1,sort=random] at @s run function darkmobs:warden
execute as @e[type=minecraft:slime,tag=!not_mob1,sort=random] at @s run function darkmobs:slime
execute as @e[type=minecraft:creeper,tag=!not_mob1,sort=random] at @s run function darkmobs:creeper
execute as @e[type=minecraft:iron_golem,tag=!not_mob1,sort=random] at @s run function darkmobs:iron_golem
execute as @e[type=minecraft:villager,tag=!not_mob1,sort=random] at @s run function darkmobs:villager
execute as @e[type=minecraft:wolf,tag=!not_mob1,sort=random] at @s run function darkmobs:wolf
execute as @e[type=minecraft:drowned,tag=!not_mob1,sort=random] at @s run function darkmobs:drowned
execute as @e[type=minecraft:piglin_brute,tag=!not_mob1,sort=random] at @s run function darkmobs:piglin_brute
execute as @e[type=minecraft:polar_bear,tag=!not_mob1,sort=random] at @s run function darkmobs:polar_bear
execute as @e[type=minecraft:phantom,tag=!not_mob1,sort=random] at @s run function darkmobs:phantom
execute as @e[type=minecraft:breeze,tag=!not_mob1,sort=random] at @s run function darkmobs:breeze
execute as @e[type=minecraft:bogged,tag=!not_mob1,sort=random] at @s run function darkmobs:bogged
execute as @e[type=minecraft:armadillo,tag=!not_mob1,sort=random] at @s run function darkmobs:armadillo
execute as @e[type=minecraft:ender_dragon,tag=!not_mob1,sort=random] at @s run function darkmobs:ender_dragon