Evoker

Evokers are hostile mobs, and one of the two illagers, the other being the vindicator.

Natural generation
Evokers spawn during the generation of woodland mansions, not in groups, but on their own, and only in particular rooms. They will not respawn after their initial spawn, thus there are a limited number of them per world. Evokers spawned with mansions do not naturally despawn.

Drops
Evokers will always drop 1 totem of undying. They will also drop 0–1 emeralds if killed by the player, with the maximum increasing by 1 for every level of Looting.

Behavior
Evokers will attack players, villagers and iron golems within about 16 blocks.

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 and  is allowed, 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 signals this attack by producing mauve smoke and a deep horn-like sound. A number of fangs rise out of the ground, then snap shut and vanish. Non-illager mobs caught in the attack are dealt damage, regardless of armor, enchantments, or difficulty. Other evokers and vindicators 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.

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 signals this attack by producing 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 left 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.