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?user11502– user115022018-12-15 16:33:31 +00:00Commented Dec 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 ~ ~ ~.......AAWWEESSOOMMEE7– AAWWEESSOOMMEE72018-12-15 16:42:00 +00:00Commented Dec 15, 2018 at 16:42
-
Is it nbt data or what? I also need ids for each. ThxAAWWEESSOOMMEE7– AAWWEESSOOMMEE72018-12-16 15:19:08 +00:00Commented Dec 16, 2018 at 15:19
Add a comment
|
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 If the answer was correct, please mark it as accepted.AjaxGb– AjaxGb2019-02-04 17:58:30 +00:00Commented Feb 4, 2019 at 17:58
-
@SeenNorvell That would just be
/data merge entity <target> {VillagerData:{...}}, where<target>selects a single villager and...is the type, profession, etc. you want.AjaxGb– AjaxGb2019-02-05 21:21:54 +00:00Commented Feb 5, 2019 at 21:21