execute if entity @s[tag=enemy,tag=!aj] at @s run function 0_enemy_boss:tick/mob
execute if entity @s[tag=boss,tag=!aj] at @s run function 0_enemy_boss:tick/mob
execute if entity @s[tag=attack] at @s run function attacks:0_tick
execute if entity @s[tag=animation] at @s run function animation:0_tick
execute if entity @s[tag=aj] at @s run function 0_enemy_boss:tick/aj

# Must Riden (used for the custom name of invisible mobs)
execute if entity @s[tag=must_ride] if predicate entity/not/riding run kill @s

scoreboard players add n_entities EB_generic 1