ゆずかきのマイクラサバイバル開拓日誌ブログ

マインクラフト(Minecraft)という箱庭ゲームで誰でも作れる自作装置開発ログや攻略記事を投稿しています

【Minecraft】How to Build a Villager Trading Hall & Best Professions | Easily Get Mending & Full Diamond Gear【Java edition】

Hi, I’m Yuzukaki.

So, how’s your resource gathering going in Survival mode?
Ever since the cave update, it’s gotten surprisingly hard to stock up on diamonds and iron, even with branch mining.

That’s exactly where villager trading halls come in clutch.

So much diamond gear!

  • As long as you’ve got emeralds, you can just buy diamond armor and weapons like it’s nothing
  • Librarians who buy paper, smiths who buy iron… before you know it, you’ve built your own little economy
  • Armorers and weapon smiths will even sell you enchanted diamond gear

Once you set up a system this convenient, you’re not going to want to play without it anymore.
So in this article, I’ll walk you through how to use Java Edition villagers to build a powerful villager trading hall step by step.

Example: simple villager trading hall

👉 Goal of this guide:
Create a world where you can buy diamond gear
Build a route to effectively infinite emeralds
Secure a stable supply of Mending & Unbreaking III

※ This article is based on Java Edition 1.21.5.
※ Everything below was tested in that version.

This article was published as an English translation of a Japanese blog post.


Table of Contents

1. Finding a Village & First Steps | Meet Your Villagers
2. Breeding Villagers (How to Increase Your Population)
3. Understanding How Villager Trading Works
4. How to Build a Villager Trading Hall (Step by Step)
5. Creating an Emerald Economy with Villager Trading
6. Common Problems After Your Trading Hall Is Finished
7. Summary | A Trading Hall Completely Changes Survival
8. Q&A

Click a section title to jump straight there!


1. Finding a Village & First Steps | Meet Your Villagers

First, you need villagers. That means either finding a village or curing a zombie villager.
Curing them is a bit high-effort early on, so realistically, finding a village is the easier starting point.

※ In Java Edition, curing requires a Splash Potion of Weakness and a Golden Apple.

Ah! A village!

What to Do Right After Finding a Village

Make sure you at least do these things 💪

  • Light up the whole village area plus about 50 blocks around it to prevent mob spawns (this is the bare minimum).
  • Once it’s lit, fence the village in so zombies can’t wander inside.
  • If you have a map, mark the location with a banner or by hanging the same map in your base.

That’s how you secure your villagers’ safety and make sure you can always find your way back to this village later.

At the very least, light up this much from the edge of the village.


2. 【Java Edition】Let’s Breed More Villagers

2-1. Keeping Your Villagers Safe

Villager safety is your top priority.
Even if you light everything up and put fences around, villagers just wander around on their own and can disappear before you realize it.
To keep them safe, gather them into one secure spot in the village and prevent them from escaping.

Dirt walls are fine—just make sure villagers can’t escape.

2-2. How Villager Breeding Works

To breed villagers, you need willingness (their “love mode”) and unused beds.

  • Give them food like bread or carrots, or let farmers share crops with them to increase willingness
  • When number of beds > number of villagers, babies can be born
  • Baby villagers grow into adults in 20 minutes

When you see this ❤ particle effect…

Breeding success! A baby villager appears.

◎ Things to Watch Out For

  • If the mobGriefing gamerule is set to false, villagers won’t pick up crops, and breeding won’t progress → if they never seem to breed, check this setting
  • If you let the village grow huge (lots of beds + villagers), you may start getting iron golems spawning around the area—great if you want them, annoying if you don’t

3. 【Java Edition】How Villager Trading Works

In Java Edition, villages are formed around claimed points of interest—especially beds and job site blocks.

  • Place a job site block, and unemployed villagers will automatically go from “jobless” to “employed”, unlocking trades
  • If you break the job block of an already employed villager, they’ll search for a new one, but if you have traded with that villager even once, their profession and trades are locked and won’t change, even if you break the block
  • After you trade with them enough, their profession level increases and new trade slots become available

When you’ve traded enough and their profession level increases, you’ll see this effect.

Also, trade prices change based on things like demand and your reputation with villagers.

  • In particular, if you hit or kill villagers, negative gossip spreads and trade prices can go up, so be careful
  • If you cure zombie villagers, you can get big discounts—just note that in modern Java, repeatedly reinfecting and curing the same villager doesn’t stack extra discounts anymore

This is a zombie villager.

※ Villagers have profession levels.
As you keep trading with them, they level up in stages: “Novice → Apprentice → Journeyman → Expert → Master”,
which unlocks higher-tier trades like rare items and diamond gear.


4. 【Java Edition】Step-by-Step: Building a Villager Trading Hall

From here, let’s go through the concrete steps to build a trading hall.

4-1. Designing Your Trading Hall Space

★ Tips for Choosing a Location
  • If you build it near an iron golem farm, be careful with bed placement and spawn-proofing
    • If it’s too close, the systems can interfere, and golems may spawn in weird places
  • The best place is near your main base, in an area where you usually hang around
    • While you’re idling and trading, crops grow, farms and traps run, and you gather resources efficiently

If it’s too close, the systems interfere and break. (This screenshot is after a lot of fine-tuning.)

In my world, I built a trading hall near my base that gathered “smiths, librarians, clerics,” and more into one spot.

  • Make small cells about 3×2 blocks in size, each with a job site block
  • Bring villagers in by boat (or at night, break their bed and guide them over)
  • If they’re unemployed, just place a job site block and they’ll automatically take a job
  • Beds are optional in a trading hall—many players skip beds in compact halls to avoid extra iron golem spawns and pathing headaches

Transporting villagers into the hall by boat.

★ Building the Trading Hall
  • You can use whatever building blocks you like
  • Since the inside is tight, using glowstone or lanterns embedded in the ceiling makes lighting both practical and stylish
  • Build doors or counters next to job site blocks so you can trade with each villager easily

Example: a simple trading hall built at my Survival base.

4-2. 【Java Edition】Assigning Jobs with Job Site Blocks

Any villager who’s unemployed (and not a green-robed Nitwit) can take on a profession.
Note: Java and Bedrock editions have different trading mechanics.

  • Some major professions and their job site blocks are listed below:
Profession Job Site Block Main Trades
Librarian Lectern Paper → emeralds, enchanted books
Cartographer Cartography Table Paper → emeralds, maps
Cleric Brewing Stand Ender pearls, redstone, etc.
Farmer Composter Wheat, potatoes → emeralds, etc.
Toolsmith Smithing Table Coal, iron → emeralds, diamond tools
Weaponsmith Grindstone Coal, iron → emeralds, diamond weapons
Armorer Blast Furnace Coal, iron → emeralds, diamond armor
Butcher Smoker Raw meat → emeralds, cooked meat, etc.
Fisherman Barrel String, fish → emeralds, fishing rods, campfires
Leatherworker Cauldron Leather → emeralds, leather armor, horse armor
Mason (Stone Mason) Stonecutter Stone → emeralds, bricks, stone blocks
Fletcher Fletching Table Flint, sticks → emeralds, bows, arrows, crossbows
Shepherd Loom Wool → emeralds, beds, banners
Unemployed None (Can take a job. Needs a job site block.)
Nitwit None Cannot get a job or trade. Recognizable by green clothes.

Villagers gather around when they find a job site block.

  • Unemployed villagers will react to the nearest available job site block and take that profession
  • If you break their job site block, they’ll switch jobs, but once you’ve traded with them even once, their profession and trades are locked, so be careful
  • For trades to restock, the villager needs to “work” at their job site block (up to 2 times per day)
  • When you hold an item a villager wants to buy, they’ll hold up the item they’re offering in return (often an emerald)

Villagers show an emerald when you're holding something they want to buy.

👉 Using this mechanic, you can let a villager take a job → check their trades → if it’s bad, break the job block and retry. If it’s good, trade once to lock it in.
That’s how the so-called “librarian gacha” works.

If You Want to Run the “Librarian Gacha”

  • Place a lectern so a villager becomes a librarian → check the enchanted book trade
  • If it’s not the enchant you want, break the lectern and let them reassign
  • Keep rolling until you see something like Mending, Silk Touch, Unbreaking III, Efficiency V, etc.
  • Once you trade with them, their trades are locked, so you can’t reroll that villager anymore

Got Mending! → Trade once right away to lock it in.

(A) Armorer / Toolsmith / Weaponsmith
  • You can sell them iron for emeralds. If you have an iron golem farm, that’s essentially infinite income 👌
  • At higher levels, they start selling diamond gear
  • Many of their lower-level trades are “coal → emeralds”, so early on it’s handy to mine a mountain biome for coal

Armorer

(B) Cleric
  • You can buy Ender pearls from them → super helpful when you’re getting ready to fight the Ender Dragon
  • You can also buy redstone and glowstone with emeralds
  • They often have trades like “rotten flesh → emeralds”, but to really take advantage of that you’ll want something like a sky mob farm or AFK mob tower

Cleric (Priest)

(C) Librarian
  • Paper → emeralds = works insanely well with an automatic sugar cane farm
  • You can farm emeralds quickly while also getting enchanted books to power up your gear → you can basically build an economy centered just around librarians
  • It’s totally worth the time to roll for “Mending”, “Silk Touch”, “Unbreaking III”, etc.

Librarian

(D) Cartographer
  • Paper → emeralds” is also very strong here
  • They sell treasure maps, ocean monument maps, woodland mansion maps—perfect if you love exploring
  • A little trick: you can craft compasses with iron + redstone and use them to level up cartographers

Cartographer

On top of that, farmers (composter) are super useful because you can sell them large amounts of crops.

Farmer trades are a huge help in early Survival.

Leveling Up Villagers by Trading

  • As you keep trading with a villager, their profession level rises and new trades unlock
  • Each trade has a daily limit, and restocks happen at most twice per day (Java Edition)
  • If you trade with them steadily every in-game day, eventually buying a full set of diamond gear becomes completely normal

Once a trade hits its limit, you’ll see an × icon.

※ To level up clerics faster, it really helps to have lots of rotten flesh.
Rotten flesh drops from an AFK mob farm or sky mob tower can be put to good use by trading them to clerics.


5. 【Java Edition】Building an Emerald Economy with Villager Trading

In this section, I’ll explain how I built a villager-based economy in my own Survival world.
The idea is: Use an iron golem farm to get iron → Trade iron with smiths to get emeralds → Use those emeralds with librarians/clerics/smiths for all the useful items!
It takes a few steps to reach this point, but once you’ve systematized it, Survival becomes way more relaxed.

Infinite iron from a golem farm → practically infinite emeralds.

※ To really get this emerald economy going, iron is the key.
If you want this to run on autopilot, an iron golem farm makes life so much easier.

1. Turning Iron Ingots into Emeralds

  • Bring the iron ingots from your golem farm to your smith villagers.
  • Once they unlock the iron trade, it’s typically 4 iron ingots → 1 emerald.
  • That offer can be used up to 12 times per restock, and they can restock twice per in-game day, so you can get up to 24 emeralds per day from a single smith.

STEP1: Trade iron → get emeralds

2. Getting a Full Set of Diamond Gear from Smiths

  • Smith villagers shine when it comes to diamond gear.
  • If you have an armorer, toolsmith, and weaponsmith, you can buy a full set of diamond armor, tools, and weapons just through trading.
  • The default enchants on their gear are often pretty weak, so if you don’t like them, you can strip them off with a grindstone.

STEP2: Spend emeralds → get diamond tools, weapons, and armor

3. Easily Get Top-Tier Enchanted Books from Librarians!

  • If you haven’t done the librarian gacha yet, make sure to do that first.
  • You can also just pre-stock a bunch of strong enchanted books.
  • Combine the diamond gear you bought from smiths with those books on an anvil, and you’ll have fully enchanted diamond gear in no time.

STEP3: Diamond gear + top-tier enchanted books → full enchanted diamond set complete!

◎ Price Increases, Resets & Trade Recovery Troubles

  • Don’t hit, kill, or set villagers on fire. Your reputation tanks and trade prices shoot up…
  • If prices go up, try waiting a few in-game days, or improving your reputation by trading normally (and not over-spamming the exact same trade nonstop)
  • Breaking and picking up beds can help reset links when villagers are acting weird, but villagers you’ve traded with keep their profession and trade list, so be careful

6. Common Problems After Your Trading Hall Is Finished

  1. Interference with Your Golem Farm

    • If you increase the number of beds and villagers, golems may start spawning in places you didn’t intend
    • Make sure you spawn-proof properly and divide up the area so villagers’ movement ranges are controlled
  2. Villagers Falling or Wandering into Danger

    • High cliffs, lava pools, and holes are all hazards. Some villagers even wander into the Nether on their own…
    • Don’t rely only on Nether portals as exits—double up with doors or fence gates to keep villagers from slipping through
  3. Price Increase / Decrease Mechanics

    • In Java Edition, harming villagers creates negative gossip, and prices can climb across nearby villagers
    • So really, try not to hit villagers at all
  4. Your Mending Librarian Suddenly Disappears

    • If you don’t protect them, it’s surprisingly common for key villagers to just be gone one day
    • They can fall into the iron golem kill chamber, get eaten by zombies, wander into the Nether, etc.
    • Protect top-tier librarians with fences and blocks, and make absolutely sure they can’t fall or escape

Villagers will happily march into the dangerous Nether like it’s no big deal 💦


7. Summary | A Trading Hall Completely Changes Survival

We’ve covered everything from the basics of Java Edition villager trading to how to actually build a “shopping street” and farm emeralds efficiently.

  • Villagers use a job system based on job site blocks (and village POIs like beds)
  • With things like librarian gacha and profitable smith professions, you can create an infinite emerald loop

Once your trading hall is up and running…

  • You can freely buy diamond gear
  • You can get unlimited strong enchanted books
  • You can even buy essential progression items like Ender pearls with emeralds

Your Survival experience changes completely.
Whenever you feel like “I kind of want to build a trading hall,” you can come back to this guide and follow it step by step.

With a solid trading hall in your world, you’ll be able to build a stable in-game economy.
Definitely give it a try and see just how much easier Survival gets.


2025/4/26 Update:
You may have heard rumors that “librarian gacha is going away.”
As of Java 1.21.5, you can still reroll a librarian’s first enchanted book trade by breaking/replacing the lectern—as long as you haven’t traded with that villager yet.
Just a heads-up: if you enabled the experimental Villager Trade Rebalance option when creating your world, librarian rules can change, so results may differ.

Related Reads: Things to Do After Building a Trading Hall

▶ Automate sugar cane → mass-produce paper → build an economy centered around librarians
▶ Pair an XP farm + trading hall → mass-produce enchanted diamond gear
▶ Build a villager-based automatic crop farm → run a crop + farmer-centered economy


8. Q&A

Q. You keep saying “librarian gacha”, but how many rerolls should I actually do?

A. Hmm, yeah, this is kind of the “newbie trap” part.
There really isn’t a clear answer like “do it X times and you’re done.” It’s pure RNG.
It’s totally normal to reroll dozens of times and get nothing good, but then on another day, you might hit what you want on the first try.
So if you have extra villagers to spare, even if it’s not your main goal at that moment, it’s important to at least lock in strong enchants like “Mending” or “Efficiency V” when they show up by doing a single trade.


Q. The price of enchanted books keeps changing. Why?

A. Two things are getting mixed together here:

  • A librarian’s base price for a specific enchanted book is set when that trade is generated
  • After that, the price can still move up or down because of discounts (like curing or Hero of the Village) and demand (over-trading the exact same offer)

If you’re a hardcore player, you can absolutely do librarian gacha specifically to hunt for the lowest possible base price for the book you want.


Q. Don’t you need infinite resource farms to build this kind of economy?

A. Not necessarily.
In early game, building farms + trading crops to farmers for emeralds is a very stable strategy.
As your world progresses and you start building infinite resource farms, you can gradually transition into a full-blown villager economy.


Changelog

  • 2026/02/02 First published