Vex icon

Vex Summon Command Generator

No other hostile mob ignores level geometry the way a vex does: it flies straight through walls, floors, and ceilings while swinging its iron sword. That single property makes it perfect for haunted houses, cursed libraries, and any encounter where cover is supposed to feel unsafe - and it is exactly why an uncontained vex can also ruin a map, drifting out of the arena and ambushing players three rooms away.

Summoning vexes directly gives you a version the evoker never provides: one with no lifespan timer. Evoker-conjured vexes eventually wither away on their own, but a command-summoned vex lives until something kills it, so you control the encounter's length instead of the decay clock.

Use this builder to name individual spirits, raise health above the fragile default of 14, or pin a no_ai specimen in midair as a floating statue. The generated command is ready for chat, command blocks, or functions.

Example commands

Haunted keep wraith

/summon minecraft:vex ~ ~ ~ {PersistenceRequired:1b,CustomName:"Keep Wraith",CustomNameVisible:1b,Health:30f,attributes:[{id:"minecraft:max_health",base:30}]}

A named spirit with more than double the default 14 health; custom_name_visible keeps the nameplate readable even as it dips through walls.

Glowing hunter you can track through stone

/summon minecraft:vex ~ ~ ~ {Glowing:1b,Silent:1b}

The glowing outline shows through every block the vex phases into, turning its wall-clipping habit into a visible cat-and-mouse mechanic.

Frozen midair statue

/summon minecraft:vex ~ ~ ~ {NoAI:1b,NoGravity:1b}

no_ai stops the flight AI and no_gravity guarantees it stays pinned at spawn height - a cheap ghost decoration for gallery or shrine builds.

Worth knowing

FAQ

Do command-summoned vex spirits die on their own like the evoker's do?

No. The decay timer only applies to vexes conjured by an evoker. One you summon yourself persists until killed, so plan a cleanup command for map resets.

How do I keep a vex inside my arena?

You can't wall it in - vexes phase through blocks. Practical options are a leash of repeating teleport commands, a distance-based kill sweep, or simply designing the room so escaping spirits return to attack.

Can I change the sword a vex is holding?

The vanilla vex carries an iron sword as its stock loadout, and this builder keeps that default. Its red charge flash comes from the mob itself, not from the weapon.

Loading the workbench…