Vex

Vexes are flying hostile mobs summoned in small groups by the spell-casting evoker.

Spawning
Vexes spawn as part of an evoker's summoning attack; the evoker signals this attack by producing off-white smoke and a high-pitched horn-like sound. When summoned, exactly three vexes appear near the evoker. An evoker can summon additional vexes even if some still remain alive from the last summoning.

Drops
The vex's iron sword has a 0% chance of dropping, because its main hand's  is. This chance increases by 1 percentage point per level of Looting. is also dropped on player kills.

Behavior


Vexes attack players, villagers or adult villagers, iron golems, wandering traders, snow golems, if an evoker summoned them, and any other target as commanded by their summoning evoker. They still attack these mobs even when they do not have a weapon. They are capable of flying through the air, and can freely pass through any block, including water and lava, without taking damage. While attacking, they glow red and lunge at their target. If any mob attacks a vex, any vexes in the area become hostile toward it.

Vexes summoned by an evoker start taking damage after 30 to 119 seconds and eventually die. This does not apply if the vex is summoned by a spawner, spawn egg or by the command.

When idle, vexes wander within a 15×11×15 cuboid range centered on their evoker's position, unless summoned by a spawn egg or by the command.

Data values
Vexes have entity data associated with them that contains the various properties of the mob.

Trivia

 * Despite their ghostly appearances and their ability to phase through walls, vexes are not undead mobs, as Smite enchantments don't work on them.