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, 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 will not drop, because its main hand's  is. This is not affected by the Looting enchantment. is dropped when killed by a player or tamed wolf.

Behavior


Vexes attack players, villagers or adult villagers, iron golems, and wandering traders 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 vexes can pass through blocks easily, honey blocks seem to slow them down. Vexes also can be bounced back when pushed by a slime block. 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. A vex does not despawn if it has been named via nametag, or commands, or if it is in a block, minecart, or boat.

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.

ID




Entity data
Vexes have entity data associated with them that contains various properties.

Trivia

 * Despite their ghostly appearances and their ability to phase through walls, vexes are not undead mobs.
 * Vexes and ender dragons are the only two mobs that can phase through solid blocks.
 * As of Bedrock Edition beta 1.17.0.50, the Goat temporarily uses vex attack sounds.