Minecraft Villager Trade Generator
Create custom villager trades and generate summon commands for Minecraft
Generated Command
/summon minecraft:villager ~ ~ ~ {VillagerData:{profession:"minecraft:farmer",level:1},Offers:{Recipes:[{"buy":{"id":"minecraft:emerald","count":1},"sell":{"id":"minecraft:diamond","count":1},"max_uses":12,"xp":1,"price_multiplier":0.05,"reward_exp":true}]}}Villager Settings
Configure the villager appearance
Trades (1)
Trade 1
How to Use the Minecraft Villager Trade Generator
The Villager Trade Generator lets you create custom villager trades and generate the /summon command to spawn a villager with those exact trades in your Minecraft world. This is essential for map makers, server owners, and creative players who want custom shops.
Step 1: Configure the Villager
Choose a profession (like Farmer, Librarian, or Weaponsmith) and set the villager level from Novice to Master. You can also add a custom name, make the villager silent, invulnerable, or stationary with the NoAI tag.
Step 2: Add Custom Trades
Click Add Trade to create new trades. For each trade, select the buy item (what the player gives), the sell item (what the player receives), and optionally a secondary buy item. Adjust max uses, XP reward, and price multiplier to fine-tune the economy.
Step 3: Copy and Use the Command
Select your Minecraft version format (1.20.5+ or 1.14-1.20.4), then copy the generated command. Paste it into a command block or the chat with operator permissions to summon your custom villager.
Frequently Asked Questions
What is the difference between 1.20.5+ and 1.14 format?
Minecraft 1.20.5 introduced a new component-based data format that changed how item data is structured in commands. The 1.14 format uses the older NBT-style syntax. Choose the format that matches your server version to ensure the command works correctly.
Can I add enchanted books to villager trades?
Yes! Select 'enchanted_book' as the sell item. However, to add specific enchantments, you'll need to manually edit the NBT data in the generated command to include the enchantment tags after generation.
What does the price multiplier do?
The price multiplier controls how much the trade price increases based on demand. A value of 0.05 means the price goes up slightly with each purchase. Set it to 0 for fixed prices that never change, which is common for custom server shops.
How do I make a villager stay in one place?
Check the 'No AI (stationary)' checkbox in the Villager Settings panel. This adds the NoAI:1b tag which prevents the villager from walking, looking around, or pathfinding. Combine it with 'Invulnerable' to prevent accidental deaths.
Related Minecraft Tools
Give Command Generator
Generate /give commands for any Minecraft item with custom enchantments and NBT data.
Server.properties Generator
Configure your Minecraft server settings with an interactive editor.
Target Selector Generator
Build complex target selectors for Minecraft commands with a visual editor.
Build Custom Shops on Your Own Server
Create an economy server with custom villager shops. Our dedicated Minecraft hosting gives you full command block access and plugin support.
View Hosting Plans