Bazaar Villager
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.
截图
介绍
📦 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.
常见问题
Bazaar Villager 支持哪些 Minecraft 版本?
Bazaar Villager 支持 Minecraft Java 版 1.21.10,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Bazaar Villager 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
评论
登录后评论和评分