Fair Bartering
A lightweight, configurable mod that is modpack and vanilla friendly, focused on tweaking Piglin bartering behavior.
截图
介绍
Fair Bartering
A lightweight, configurable mod that is modpack and vanilla friendly, focused on tweaking Piglin bartering behavior. By default, almost all piglin-loved items are now tradeable currency, with some of them getting you better trades and others getting you multiple trades at once, like the gold block which is the equivalent of bartering nine gold ingots at once! You can also add modded items to the config, so it integrated nicely in small and big modpacks.
⁉️ Support
Questions about the mod? You can join my Discord server at discord.gg/cTY4ME6Bkn!
🖼️ Examples

Lots of new cool items to barter with!

Bartering away all your enchanted golden apples yields nice trades 🙂

I bet you’ve never seen _that_ before, huh? _(not default behaviour)_
🤓 Features
- You can now trade gold blocks to get 9 trades at once! Finally, quick and efficient bartering, nice for vanilla+ modpacks to make farming some resources easier with vanilla mechanics!
- Customizable item-specific delay between each trade
- Customizable item tiers based on item’s rarity
- Add your own items as custom currencies, even modded ones!
🛠️ Configuration
Default
By default, the following items can be used as a bartering currency:
| Item | Trades | Tier | Delay (seconds) |
|——————————-|——–|———–|—————–|
| Gold Ingot | 1 | Common | 6 |
| Gold Block | 9 | Common | 12 |
| Gold Nugget | 1 | Trash | 2.5 |
| Gold Ore | 1 | Trash | 4 |
| Deepslate Gold Ore | 1 | Trash | 5 |
| Nether Gold Ore | 1 | Trash | 3.5 |
| Raw Gold | 1 | Trash | 6 |
| Raw Gold Block | 9 | Trash | 12 |
| Clock | 1 | Rare | 9 |
| Golden Apple | 2 | Rare | 12 |
| Enchanted Golden Apple | 4 | Legendary | 18 |
| Gilded Blackstone | 1 | Rare | 9 |
| Glistering Melon Slice | 2 | Trash | 5 |
| Golden Carrot | 2 | Trash | 5 |
| Golden Axe | 1 | Common | 7 |
| Golden Sword | 2 | Trash | 7 |
| Golden Spear | 2 | Trash | 7 |
| Golden Shovel | 2 | Trash | 7 |
| Golden Pickaxe | 1 | Common | 7 |
| Golden Hoe | 2 | Trash | 7 |
| Golden Horse Armor | 4 | Rare | 9 |
| Golden Nautilus Armor | 4 | Rare | 9 |
| Bell | 3 | Rare | 10 |
| Light Weighted Pressure Plate | 1 | Common | 9 |
Do note that golden armor pieces are not included by default in order not to clash with the vanilla’s mechanic which allows piglins to wear picked-up armor
And below are the modified loot tables (only weights are changed from vanilla) based on the tier of the item being bartered:
| Item | Common (Vanilla) | Trash | Rare | Legendary |
|———————————————|——————|————–|————-|————-|
| Enchanted Book (random level of Soul Speed) | 5 (~1.07%) | 0 | 14 (~3.98%) | 40 (~25.6%) |
| Iron Boots (random level of Soul Speed) | 8 (~1.71%) | 0 | 16 (~4.54%) | 24 (~15.4%) |
| Splash Potion of Fire Resistance | 8 (~1.71%) | 0 | 16 (~4.54%) | 24 (~15.4%) |
| Potion of Fire Resistance | 8 (~1.71%) | 0 | 16 (~4.54%) | 24 (~15.4%) |
| Water Bottle | 10 (~2.13%) | 0 | 20 (~5.68%) | 10 (~6.41%) |
| Dried Ghast | 10 (~2.13%) | 0 | 20 (~5.68%) | 10 (~6.41%) |
| Iron Nugget (x10-36) | 10 (~2.13%) | 0 | 20 (~5.68%) | 10 (~6.41%) |
| Ender Pearl (x2-4) | 10 (~2.13%) | 0 | 20 (~5.68%) | 10 (~6.41%) |
| String (x3-9) | 20 (~4.26%) | 10 (~2.63%) | 15 (~4.26%) | 2 (~1.28%) |
| Nether Quartz (x5-12) | 20 (~4.26%) | 10 (~2.63%) | 15 (~4.26%) | 2 (~1.28%) |
| Obsidian | 40 (~8.53%) | 40 (~10.52%) | 20 (~5.68%) | 0 |
| Fire Charge | 40 (~8.53%) | 40 (~10.52%) | 20 (~5.68%) | 0 |
| Crying Obsidian (x1-3) | 40 (~8.53%) | 40 (~10.52%) | 20 (~5.68%) | 0 |
| Leather (x2-4) | 40 (~8.53%) | 40 (~10.52%) | 20 (~5.68%) | 0 |
| Soul Sand (x2-8) | 40 (~8.53%) | 40 (~10.52%) | 20 (~5.68%) | 0 |
| Nether Brick (x2-8) | 40 (~8.53%) | 40 (~10.52%) | 20 (~5.68%) | 0 |
| Spectral Arrow (x6-12) | 40 (~8.53%) | 40 (~10.52%) | 20 (~5.68%) | 0 |
| Gravel (x8-16) | 40 (~8.53%) | 40 (~10.52%) | 20 (~5.68%) | 0 |
| Blackstone (x8-16) | 40 (~8.53%) | 40 (~10.52%) | 20 (~5.68%) | 0 |
Customize
The config can be found in the config folder of your instance, and is named fairbartering.json5. It contains a list of custom barter currencies written in the following format:
[
...
{
"item": "minecraft:gold_ingot",
"worth": 1,
"tier": "COMMON",
"delay": 1.0
},
...
]
// More detailed info can be found inside the config file
Each item object has four parameters :
item: the name of the item, including its namespace, in the formatnamespace:item_name.worth: the number of trades made at once when bartering the item.tier: specifies which loot table the trades will use. Can be one ofCOMMON,TRASH,RAREorLEGENDARY. See above for more details.delay: a multiplication factor for the time you’ll have to wait to make a trade with the item. A factor of 1.0 is vanilla (6 seconds), while a factor of 2.0 means the trade will take roughly 12 seconds.
Do note that you have to restart the game in order for any changes to take effect.
📜 Dependencies
- Fabri API (Fabric users only)
⏱️ Future Updates
- UI config
- Better customization of loot table tiers
- Backport to older Minecraft versions
- Provide more preset configs for different playstyles
- Not having to restart the game to reload the config
- _If you have a suggestion, suggest it here!_
🐛 Known Issues
- None at the moment. _If you find one, please report it here_
©️ Credits
Icon made with Inkscape and Blockbench using Twemoji and FiraCode
Multiloader Template by jaredlll08
常见问题
Fair Bartering 支持哪些 Minecraft 版本?
Fair Bartering 支持 Minecraft Java 版 1.21.1–1.21.11,共 2 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Fair Bartering 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
m 的其他作品
查看全部 →Sparse Structures
一个简单且可配置的模组,可让所有结构(包括数据包和模组添加的结构)分布得更加分散(或更加常见!),本质上就是让它们变得更稀有或更容易找到。非常适合包含大量结构类模组的大型整合包,鼓励玩家探索世界。
NethpotPack
This is specially made u for Potion pvper (NETHPOT) beacuse it contains Low fire,small golden apple and much more For more cheak discription
Matrix Utilits
This texture pack is made up for smp and pvp player and it will boost your fps cheak gallery and discription for more
Smooth Glass
This will make the texture of glass to clean
评论
登录后评论和评分