Is there a command to specify which type of Villager to spawn?
As the title says, is there a command/tag/anything else that can specify a kind of villager to be spawned using /summon? I'm trying to spawn a whole bunch of farmers.
Best Answer
/summon villager ~ ~1 ~ {Profession:0,Career:0}
The "~ ~ ~" are the coordinates (location) where the mob will spawn, the first and third are lateral directions, and the second means the height. In my command there, it means the villager will spawn 1 block above wherever you run the command.
The profession is the type of villager you want.
- 0 = Farmer, Fisherman, Shepherd, Fletcher
- 1 = Librarian
- 2 = Cleric
- 3 = Armorer, Weapon Smith, Tool Smith
- 4 = Butcher, Leatherworker
You can even change their name.
/summon Villager ~ ~1 ~ {CustomName:0}
Where the "0" is is where you can put in your own name to give them.
Pictures about "Is there a command to specify which type of Villager to spawn?"



How do you make every type of villager?
There is (currently) no way to change a villager type's trades using a data pack. But you can detect the career using commands and then change the trades directly. This command has to be put into an always active repeating command block in the spawn chunks or into a ticking function.How do you change villager trades using commands?
To change a villager's job, all you need to do is destroy the job site block that they're currently using as their profession. For example, if you want to change a Farmer villager's job, you'd destroy the Composter block that they're using.Commands 1.18 | How To Make Villagers With Custom Trades in Minecraft
More answers regarding is there a command to specify which type of Villager to spawn?
Answer 2
For 1.13 the command is as follows
/summon minecraft:villager ~ ~1 ~ {Profession:0,Career:0}
Answer 3
To get farmers, do /summon villager ~ ~ ~ {Profession:0,Career:1}.
To get fishermen, do /summon villager ~ ~ ~ {Profession:0,Career:2}.
To get shepherds, do /summon villager ~ ~ ~ {Profession:0,Career:3}.
To get fletchers, do /summon villager ~ ~ ~ {Profession:0,Career:4}.
To get nitwits, do /summon villager ~ ~ ~ {Profession:5,Career:1}.
Profession is the villager type. Career is the villager job.
{Profession:0,Career:1-4} = Farmer (Brown Dude)
{Profession:1,Career:1-2} = Librarian (White Dude)
{Profession:2,Career:1} = Priest (Pink Dude)
{Profession:3,Career:1-3} = Blacksmith (Black Apron Dude)
{Profession:4,Career:1-2} = Butcher (White Apron Dude)
{Profession:5,Career:1} = Nitwit (Green Dude)
*See the two numbers with hyphens in between them after Career? That means you get to pick a number between those two numbers.
Answer 4
{Profession:0,Career:1-4} = Farmer (Brown Dude)
{Profession:1,Career:1-2} = Librarian (White Dude)
{Profession:2,Career:1} = Priest (Pink Dude)
{Profession:3,Career:1-3} = Blacksmith (Black Apron Dude)
{Profession:4,Career:1-2} = Butcher (White Apron Dude)
{Profession:5,Career:1} = Nitwit (Green Dude)
NOT COPIED FROM SOME1 ELSE
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Anete Lusina, Sora Shimazaki, Aleksandar Pasaric, Vie Studio
