Summon Wandering Trader Generator Summon Mob Generator

Update 2.38.7, you may need to clear cache for updated files.
Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors.

Minecraft summon wandering trader command

Using the summon command to spawn in a minecraft wandering trader is simple, take the command and enter into chat and presto you have a wandering trader. Options for setting trades that villager can make.

Wandering Trader trades

Building trade data is complicated and takes some time. Each trade needs at least one buy item and one sell item. You can add nbt tag data for named and enchanted items (other tags may work too). Summon generally creates a villager in a blank state, so it's best to set all the options that you would like. Remember long commands need to into command block to get around the chat limit.

In this example you can buy a iron sword from the villager

/summon minecraft:wandering_trader ~ ~ ~ {VillagerData:{type:plains,profession:farmer,level:2},Offers:{Recipes:[{buy:{id:emerald,Count:1},sell:{id:iron_sword,Count:1}}]}}

In this example you can buy a named iron sword from the villager, Note the

/summon minecraft:wandering_trader ~ ~ ~ {VillagerData:{type:plains,profession:farmer,level:2},Offers:{Recipes:[{buy:{id:emerald,count:1},sell:{id:iron_sword,count:1,components:{custom_name:'["",{"text":"Pointy","italic":false}]'}}}]}} /summon minecraft:wandering_trader ~ ~ ~ {VillagerData:{type:plains,profession:farmer,level:2},Offers:{Recipes:[{buy:{id:emerald,Count:1},sell:{id:iron_sword,Count:1,tag:{display:{Name:"[{\"text\":\"Pointy\",\"italic\":false}]"}}}}]}}

In this example you can buy an enchanted named iron sword from the a villager

summon minecraft:villager ~ ~ ~ {VillagerData:{type:plains,profession:farmer,level:2},Offers:{Recipes:[{buy:{id:emerald,count:1},sell:{id:iron_sword,count:1,components:{custom_name:'["",{"text":"Pointy","italic":false}]',enchantments:{levels:{sharpness:1}}}}}]}} summon minecraft:wandering_trader ~ ~ ~ {VillagerData:{type:plains,profession:farmer,level:2},Offers:{Recipes:[{buy:{id:emerald,Count:1},sell:{id:iron_sword,Count:1,tag:{display:{Name:"[{\"text\":\"Pointy\",\"italic\":false}]"},Enchantments:[{id:sharpness,lvl:3}]}}}]}}

What about Villagers, and Zombie Villagers

Try the full villager mob generator, which has a easy select of types, professions and trades

Or if you just want the zombie villager, which details options for that mob.

Minecraft Versions Permalinks

If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.

Version History

23 Jul 2026
minecraft/command-generator 2.38.7

addedAll mobs with summon pages now use Mob Generator v2
patchUuid minor work in progress changes

15 Jul 2026
minecraft/command-generator 2.38.6

addedSummon cat now uses Mob Generator v2
patchTool components for block tags should not be an array
patchTrade predicate to nbt conversion on items not handling double quotes correctly
patchContainers lock tag now allow user to enter an item predicates in 1.21.2+
patchCatType handling for older version commands

9 Jul 2026
minecraft/command-generator 2.38.5

addedSummon villager, chickens and copper golems now use Mob Generator v2
patchBug in food components

2 Jul 2026
minecraft/command-generator 2.38.5

addedSummon axolotl, and summon cow pages now use Mob Generator v2
patchText editor formatting not grouping like with like

25 Jun 2026
minecraft/command-generator 2.38.4

addedSummon Generators moved to the Mob Generator v2

18 Jun 2026
minecraft/command-generator 2.38.3

addedMinecraft 26.2 content
addedWIP Beta Mob Generator v2

30 May 2026
minecraft/command-generator 2.38.2

patchGive item armor patch item detection

29 May 2026
minecraft/command-generator 2.38.1

addedpre-release 26.2 content

28 May 2026
minecraft/command-generator 2.38

addedWIP Beta Mob Generator v2


Read version history »
(120 More Updates)