# Villager_trade-trade
# Enchanted Book Trader
Ever found an enchanted book you didn't need, with no good way to use it? This mod turns that book into currency — and turns your local librarian into an actual book dealer.
## How it works
**Teach a trade:** Right-click a librarian villager while holding an enchanted book. The villager consumes the book and adds a real trade to its offer list — you (or anyone) can buy that exact book back from it later for emeralds.
**Reroll for a better price:** Got a duplicate of an enchantment type the villager already knows? Hand it over, and instead of teaching a new trade, it *rerolls* the existing one — new random price, the offered book updates to match the level you just gave it, and its stock fully restocks. It's a gamble each time.
**Only librarians deal in books.** Other professions (and unemployed villagers) will ignore the book entirely — it stays safely in your hand.
## Details
- A single villager can learn up to **5 different enchantment types**, each as its own trade slot
- Books with multiple enchantments (e.g. from custom NBT) aren't accepted, to keep pricing predictable
- Fully server-side gameplay logic — no client-only rendering, works in singleplayer or on a dedicated server
## Compatibility
Doesn't touch vanilla villager profession trades — every trade this mod creates is internally tagged so it only ever modifies its own entries, even on a librarian that already offers books natively.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 26.1.2, 26.3
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Hangar — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Villager_trade-trade is a free Minecraft Java mod. Compatible with Minecraft 26.1.2, 26.3. Downloaded 11 times (via Hangar). Download it and open it directly in the game.