Villager icon

Villager Summon Command Generator

Summoning a villager with commands is the fastest way to place an NPC exactly where a map needs one — behind a shop counter, at a quest desk, or inside a trading hall stall. A command-summoned villager arrives unemployed, so the profession it ends up with depends on which job site block sits nearby: drop a lectern next to it for a librarian, a brewing stand for a cleric, or a smithing table for a toolsmith.

The generator assembles the full summon syntax around those mechanics. Add a custom name so the NPC reads as a character, raise the health value so stray arena mobs cannot delete your shopkeeper, and stack NoAI with Silent and Invulnerable to freeze the villager into a permanent fixture that never wanders off its pressure plate.

Baby villagers are worth a slot in most village builds too. They sprint around plazas and jump on beds during raids, adding motion to scenes that would otherwise feel staged, and they mature into adults after twenty minutes of loaded game time.

Example commands

Frozen shopkeeper NPC

/summon minecraft:villager ~ ~ ~ {NoAI:1b,Silent:1b,Invulnerable:1b,PersistenceRequired:1b,CustomName:"Shopkeeper",CustomNameVisible:1b}

NoAI pins the villager behind its counter, Silent removes the ambient grumbles, and Invulnerable stops arena strays from killing your economy.

Baby villager

/summon minecraft:villager ~ ~ ~ {IsBaby:1b}

Children run in circles and chase each other around village plazas, which sells a settlement as inhabited far better than a row of idle adults.

Glowing quest giver

/summon minecraft:villager ~ ~ ~ {Glowing:1b,PersistenceRequired:1b,CustomName:"Elder Rowan",Health:60f,attributes:[{id:"minecraft:max_health",base:60}]}

The glow outline makes the quest NPC findable through walls and terrain, and 60 health survives accidental crossfire from nearby fights.

Invisible trigger dummy

/summon minecraft:villager ~ ~ ~ {active_effects:[{id:"minecraft:invisibility",duration:999999,amplifier:0b,show_particles:0b}],NoAI:1b,Silent:1b}

An invisible NoAI villager gives an execute-driven dialogue trigger a physical position without any visible model cluttering the scene.

Worth knowing

FAQ

Why does my summoned villager have no trades?

It spawned unemployed. Place an unclaimed job site block such as a lectern or composter within range and the villager will claim it and roll trades for that profession.

Can I stop a villager from wandering away?

Add the NoAI trait in the generator. A NoAI villager cannot pathfind at all, yet players can still open its trading screen once it holds a profession.

Do summoned villagers get killed by zombies?

Yes — zombies target villagers on sight, and on Hard difficulty a kill always converts the villager into a zombie villager. Give shop NPCs the Invulnerable trait if the area is not mob-proofed.

Loading the workbench…