Evoker

An evoker is a hostile mob, and is one of the two "Illagers", the other being the vindicator.

Natural Generation
Evokers spawn inside naturally generated woodland mansions in groups of 1, alongside vindicators and other hostile mobs.

Drops
Evokers will always drop 1 totem of undying, as well as 0–1 emeralds.

Behavior
The evoker will attack players and villagers.

When not in the middle of summoning an attack, the evoker will attempt to run away from the player to avoid being attacked, before stopping to attack once again.

While the evoker is not engaged in combat, it will change the wool color of any blue sheep within 16 blocks to red, making a "wololo" sound.

The evoker has two attacks, fang attacks and vex summoning. When attacking, the evoker is much more likely to use a fang attack, and may immediately follow it up by summoning some vexes.

Fang attack
The evoker produces mauve smoke and a deep horn-like sound. A number of alligator-like fangs rise out of the ground in a pattern, then snap shut and vanish. Non-illager creatures caught in the bite are dealt of damage, regardless of armor or enchantments. Illagers are not damaged.

Fangs will appear no lower than the feet of the lowest combatant, and no higher than one block above the feet of the highest combatant. Fangs will attempt to appear on the highest opaque block between those two extremes, but will fail to spawn if they are obstructed by a solid block. In practice, this means that fangs will not spawn in deep pits or on top of high walls, but may, for example, go up a staircase if the target is at the top and the evoker at the bottom, or vice versa. Additionally, this means that fang attacks will not work if the floor is covered with blocks that are solid but not opaque, such as glass.

This attack has two forms: Offensive and defensive. The offensive form is used if the target is more than three blocks away, the defensive form if they are closer.
 * Offensive Bite
 * The evoker summons 16 fangs in a horizontal line toward the target, spaced a block apart. The fangs are all summoned at once, but with individual delays so that they appear and snap shut in a wave away from the evoker.


 * Defensive Bite
 * The evoker summons a total of 13 fangs in two circles centered on the evoker. The outer circle is made up of 8 fangs and has a radius of three blocks, while the inner circle is made up of 5 fangs and has a radius of two blocks. The inner circle bites slightly before the outer circle.

Vex summoning
The evoker produces off-white smoke and a higher-pitched horn-like sound. Between 2 and 4 vexes appear nearby. The evoker will summon vexes even if there are some still alive from the last summoning.

Data values
Evokers have entity data associated with them that contain various properties of the mob. Their entity ID is.

Evocation fangs
The individual fangs in an evoker's fang attacks each have a delay. Before the delay is over, the fangs cannot be seen, although unlike truly invisible entities, fangs in warmup still have a visible debug hitbox. After the delay, the fangs expand into existence, snap shut, and shrink out of sight again, dealing magic damage to all creatures standing on the spot. Naturally spawned fangs do not harm Illagers, but player-spawned ones do. Whatever toggle controls this does not (yet) have a data value, and is not saved.

Evocation fangs are not affected by peaceful difficulty.

Data values
Evocation fangs are also entities which have associated entity data. Their entity ID is.