Vex

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.




 * See Bedrock Edition level format/Entity format.
 * See Bedrock Edition level format/Entity format.

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.