###Beacon for objectives###
execute if entity @s[tag=nitTyrantObjective,tag=!nitTyrantGhast,tag=!nitTyrantBeacon] unless entity @p[distance=..30] run particle dust 0.659 0.224 0.945 1 ~ ~30 ~ 0.3 10 0.3 0 100 force


###Individual entity behaviors##
execute if entity @s[tag=nitTyrantPortal] run function nitk:attacks/portal
execute if entity @s[tag=nitTyrantFire] run function nitk:attacks/fires
execute if entity @s[tag=nitTyrantBeacon] run function nitk:attacks/beacon
execute if entity @s[tag=nitTyrantSkyPortal] run function nitk:attacks/sky_portal
execute if entity @s[tag=nitWitherPortal] run function nitk:attacks/wither_portal
execute if entity @s[tag=nitWitherHold] run function nitk:attacks/wither_hold