Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
📦 Bazaar Villager Mod
The Bazaar Villager Mod introduces an advanced, fully server-side trading system centered around a new type of NPC: the Bazaar Villager. Instead of randomized vanilla trades, Bazaar Villagers function as personal shopkeepers, allowing players to configure their own item stocks and set custom prices up to 10,368 emeralds.
Unlike normal villagers, Bazaar Villagers do not wander, cannot die, and cannot be pushed — they act as secure, persistent NPC vendors.
✨ Features
🛒 Custom Player-Owned Bazaar Villagers
- Players can place items inside their Bazaar Villager and assign a price for each slot with a custom GUI.
- Prices support three currencies:
- Emeralds
- Emerald Blocks (×9)
- Emerald Core Blocks (×81) — new block added by the mod
- Bazaar Villagers sync their trades in real time to all nearby buyers.
- They can be placed and picked up again via a custom Spawn Egg.
💎 Crafting & New Items
🟩 Emerald Core Block (81 Emeralds)
A powerful high-value currency block.
Shaped Crafting (3×3 Emerald Blocks):
EEE
EEE
EEE
Creates 1 Emerald Core Block.
- Shapeless Crafting (1 Core Block → 9 Emerald Blocks)
Place 1 Emerald Core Block anywhere in the grid to get 9 Emerald Blocks back.
🥚 Bazaar Villager Spawn Egg
You can craft the Bazaar Villager itself!
Shaped Crafting Recipe:
EEE
EVE
ECE
Where:
- E = Emerald Block
- V = Egg
- C = Chest
This creates 1 Bazaar Villager Spawn Egg.
💰 Advanced Currency System
- Supports three tiers:
1 Emerald1 Emerald Block = 9 Emeralds1 Emerald Core Block = 81 Emeralds
- Maximum price: 128 Core Blocks (10,368 emeralds).
🔄 Smart Auto-Payment & Overpayment Handling
When a buyer selects a trade:
- The mod automatically pulls the smallest possible combination from your inventory.
- Supports mixed payments (emeralds, blocks, cores).
- Overpaying is allowed.
Buyers always receive optimal change:
- Core Blocks
- Emerald Blocks
- Emeralds
Guaranteed minimal leftover stacks.
🧾 Custom Trade GUI Enhancements
- Displays:
- real price
- overpayment value
- a “Change: X” indicator with an emerald icon
- Display hides when no trade is active.
👑 Owner & Customer Menus
- Owners can:
- set item prices
- manage villager inventory
- withdraw accumulated emerald balance
- Customers only see the buying interface.
🔒 Security & Persistence
- Bazaar Villagers:
- cannot take damage
- cannot be pushed
- store their entire inventory, prices, balance, and owner data inside their spawn egg
- always persist safely
📘 Crafting Book Integration
- The Emerald Core Block and the Bazaar Villager Spawn Egg show correctly in the crafting guide.
- All recipes automatically unlock when obtaining required items.



