I'm building a world to show off each and every type of villager in Minecraft 1.14 (snapshots). I'm wondering if there is a command to summon specific villagers with certain professions (I already know how to make specific trades though). Is it nbt data or what? I just need to summon them into my world with /summon villager ~ ~ ~
. I need it for each biome, profession, career, and trade tier.
-
What sort of help do you actually need?– user11502Dec 15, 2018 at 16:33
-
Just need command to summon specific villagers with certain professions, etc. (I already know how to make specific trades though). Just need to summon them into my world with /summon villager ~ ~ ~.......– AAWWEESSOOMMEE7Dec 15, 2018 at 16:42
-
Is it nbt data or what? I also need ids for each. Thx– AAWWEESSOOMMEE7Dec 16, 2018 at 15:19
1 Answer
In 1.14, this sort of data is all contained within the villager's VillagerData
compound. It contains
profession
, which is a string. It can be any ofminecraft:armorer
,minecraft:butcher
, etc.type
, which is also a string. It can be any ofminecraft:desert
,minecraft:jungle
, etc.level
, which is an integer. This should be pretty self explanatory.
So an example command might be
summon minecraft:villager ~ ~ ~ {VillagerData:{type:"minecraft:plains",profession:"minecraft:mason",level:2}}
You can find all the valid profession
and type
values here on the wiki.
-
-
@SeenNorvell That would just be
/data merge entity <target> {VillagerData:{...}}
, where<target>
selects a single villager and...
is the type, profession, etc. you want.– AjaxGbFeb 5, 2019 at 21:21