How To Make Custom Villager Trade Shops In Minecraft!
Video Summary
In this video I show you how to create custom villager trade shops in Minecraft Java Edition using an online command generator and a command block. I walk through naming the villager, choosing its profession, level, and biome type, and toggling traits like silent or invulnerable. Then I demonstrate setting up custom trades (like trading 10 sticks for a boat), generating the command, pasting it into a command block, and testing the villager in-game.
Formatted Transcript
Hey everyone, it’s UnderMyCap, and today I’m going to show you how to create custom villagers in Minecraft that can trade anything you want. The process is simple and straightforward.
This tutorial is specifically for Minecraft Java Edition. Unfortunately, it will not work on Bedrock Edition.
What You’ll Need
To make this work, you’ll need:
1) An online villager command generator (linked in the video description).
2) A command block in Minecraft.
Step 1: Get a Command Block
First, you’ll need a command block. In Minecraft, run:
/give @p command_block
Step 2: Open the Villager Command Generator
Next, open the online generator. In this tutorial, I’m using the generator on DigMinecraft. It’s a great website and makes command generation incredibly easy.
If you’re playing on a specific Minecraft version (for example, 1.16), make sure you select the correct version option on the site. Using the wrong version can cause the command not to work properly.
Step 3: Configure Your Custom Villager
The generator lets you customize the villager’s name, profession, biome type, traits, trades, and more. Here’s how I set mine up.
Set a Custom Name
Start by setting a custom name. I’ll name mine:
UnderMyCap
Choose Appearance Options
Now select how the villager should look:
Profession/Type: I’m choosing an Armorer.
Level: This affects the badge on the villager (it changes visually). I’ll set it to Master (the highest level).
Biome: Villagers can also have a biome appearance. I’ll choose Snow.
Select Traits
You can apply special traits to the villager. Some useful ones include:
No AI: Prevents the villager from moving (it will just stand still). I’m leaving this off so the villager can move.
Silent: Stops the villager from making sounds. I’m turning this on.
Persistent: Helps prevent the villager from despawning.
Invulnerable: Prevents the villager from being killed in Survival. I’m turning this on.
Step 4: Create a Custom Trade
Now we’ll set up the villager’s trade options. You can control things like maximum uses, XP rewards, and more.
Trade Limits (Max Uses)
If you want the trade to only work a certain number of times (for example, five trades), you can set that here.
I want this trade to be unlimited, so I’ll set it to infinite.
Villager XP Rewards
You can choose whether the villager rewards XP when you trade. For this example, I’ll select:
Don’t reward XP
Note: If you’re using an ad blocker and the generator doesn’t work properly, disable your ad blocker for the site.
Choose What the Villager Buys
Villager trades are typically set up as:
You give something (buy input) → You receive something (sell output)
For the first item, I want the villager to “buy”:
10 sticks
There are extra settings like special price, price multiplier, and demand. You don’t have to use them, so I’m leaving those alone.
Choose What the Villager Sells
In exchange for 10 sticks, I want the villager to give:
An Acacia Boat
You can also set custom item names and descriptions (lore). I’ll give it a description like:
“An item that helps you stay on water.”
Step 5: Spawn Position Settings
The generator lets you choose whether the villager spawns at a specific coordinate or relative to where you are.
I recommend using Relative, so the villager spawns where you are when you run the command.
You can also add motion, rotation, and other settings, but they’re optional. I’m leaving those alone.
Step 6: (Optional) Add Potion Effects
You can give the villager effects by simply ticking boxes. For example:
Jump Boost, Instant Health, Absorption, and more.
You can also set effect duration and disable particles. For this tutorial, I’ll disable particles so there aren’t effects floating everywhere.
Step 7: Generate the Command
Once everything is set up, click Generate.
If the generator says the command is longer than 256 characters, it will require a command block to run—which is why we got one earlier.
Step 8: Paste the Command into the Command Block
Copy the generated command (Ctrl+C), go back into Minecraft, and paste it into the command block (Ctrl+V). Then click Done and power the command block with a button or redstone.
Once activated, your custom villager will spawn.
Testing the Trade In-Game
After spawning the villager, you should see the custom name and appearance—in my case, a Snow Armorer with the Master-level badge.
Now, if I bring 10 sticks to the villager and open the trading menu, I can trade them for the Acacia Boat (with the custom description). It’s super cool.
Invulnerability Check
Because I enabled Invulnerable, the villager can’t be killed in Survival mode. If I switch to Creative mode, I can remove it—but in Survival, it stays protected.
Wrapping Up
That’s it for this tutorial. I hope this helped you create custom villagers with any trades you want. Thanks for watching, and I’ll see you in the next video.
Video Thumbnail
Recommended Items Based On Post
Advertisment




![Minecraft – We Got A New Dog! [2] Minecraft – We Got A New Dog! [2]](https://i0.wp.com/img.youtube.com/vi/2Z5LAiiORTQ/maxresdefault.jpg?fit=1024%2C1024&ssl=1)