Bazaar Villager
No reviews yet
A customizable Bazaar Villager that sells stored items at player-defined prices, supports overpaying with emerald tiers, gives optimized change, auto-fills payment, adds an Emerald Core Block, and features owner and buyer trading menus.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Must be installed on both the client and the server.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
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.
Key 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:
- Emeralds
- Emerald Blocks (×9)
- Emerald Core Blocks (×81) ← new block added by the mod
- Bazaar Villager trades sync in real time with all nearby buyers.
Advanced Currency System
- The mod introduces Emerald Core Blocks, crafted from 9 emerald blocks.
- The currency tiers are:
1 Emerald1 Emerald Block = 9 Emeralds1 Emerald Core Block = 81 Emeralds
- Prices up to 128 Core Blocks (10,368 emeralds) are supported.
🔄 Smart Auto-Payment & Overpayment Handling
When a buyer selects a trade:
- The system automatically pulls the smallest possible combination from the player’s inventory.
- Supports mixed payment (emeralds, blocks, cores).
- Overpayment is allowed and fully supported. You will receive change if you pay too much!
Buyers receive change intelligently:
- As many Core Blocks as possible
- then Emerald Blocks
- then Emeralds
🧾 Custom Trade GUI Enhancements
- The trading GUI displays:
- real cost
- buyer’s overpay
- visual “Change: X” indicator with an emerald icon
- Display disappears when no trade is active.
👑 Owner & Customer Menus
- Owners have a dedicated menu to:
- set item prices
- manage inventory
- view emerald balance and receive emeralds
- Customers see only the Bazaar trading interface.
🔒 Security & Persistence
- Bazaar Villagers:
- cannot take damage
- cannot be pushed
- are saved completely inside their spawn egg using custom NBT
- retain owner name
- retain entire shop inventory and prices
📝 Crafting Book Integration
- The Emerald Core Block appears in the crafting book and creative menu.
📦 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.
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources