Vex

Vexes are tiny flying hostile mobs summoned in small groups of three by the spell-casting evoker. They are not considered illagers and do not count in the bossbar during a raid.

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 or around the evoker. An evoker can summon additional vexes even if some still remain alive from the last summoning.

Vexes never spawn naturally, although they can be spawned using spawn eggs or via commands.

Drops
$$, the vex's iron sword does not drop, because its main hand's  is.

In Bedrock Edition, the vex can drop its iron sword with random durability. This is not affected by the Looting enchantment. is dropped when killed by a player or tamed wolf in both editions.

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 (any mob that attacks the evoker, either by accident or purposely or any mob illagers naturally attack on sight). They still attack these mobs even when they do not have a weapon, and they deal the same damage.

Vexes are capable of flying through the air, and can freely pass through any block, including water and lava, without taking damage. Vexes can pass through bedrock, meaning it's possible for them to die in the void. 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.

Vexes do not count as the bossbar during a raid.

If any mob attacks a vex, any vexes in the area become hostile toward it. This also includes Johnny vindicators, who also attack vexes, despite the vindicator being a illager.

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. This happens when the vexes killed the mob that their evoker commanded them to.

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.
 * In the Bedrock betas for 1.17.0, the goat temporarily used vex attack sounds as a placeholder.