AI

The AI (or artificial intelligence) is the behavioral pattern exhibited by an NPC. For instance, the Caster AI will always teleport, shoot three times, pause for three seconds, and then teleport again. Knowing the AI an enemy uses can provide an advantage in combat, as it offers an idea of how the enemy will attack and react in given scenarios.

In addition, additional AI is added for certain NPCs, such as the non-aggressive mode of surface slimes, the Eater of Souls' circling around the player, the Wandering Eye's acceleration, and the ranged attack of some Fighter AI mobs (added in 1.1).

There are 37 different AI types: