Fair Bartering
一款轻量级、可配置的模组,兼容整合包与原版游戏,专注于调整猪灵交易行为。默认情况下,几乎所有猪灵喜爱的物品现在都可作为交易货币,其中部分物品能为你提供更好的交易,而另一些则能让你一次性获得多次交易,例如金块相当于一次性进行九次金锭交易!你也可以在配置文件中添加模组物品,使其能很好地融入小型和大型整合包中。
⁉️ 支持
关于模组的疑问?你可以加入我的 Discord 服务器:discord.gg/cTY4ME6Bkn!
?️ 示例
许多新的酷炫物品可用于交易!
用附魔金苹果进行交易会带来不错的回报 :)
我打赌你以前从未见过 那个,对吧? (非默认行为)
? 特性
- 你现在可以用金块一次性获得 9 次交易!终于实现了快速高效的交易,对于“原版+”整合包来说,利用原版机制让某些资源的 farming 变得更加轻松!
- 可自定义每种物品每次交易之间的延迟时间
- 基于物品稀有度可自定义物品等级(Tier)
- 可以添加你自己的物品作为自定义货币,即使是模组物品也可以!
?️ 配置
默认设置
默认情况下,以下物品可用作交易货币:
| 物品 |
交易次数 |
等级 |
延迟(秒) |
| 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 |
请注意,金制护甲部件默认不包含在内,以避免与原版允许猪灵穿戴拾取护甲的机制发生冲突。
以下是根据交易物品的等级修改的战利品表(仅权重相对于原版有所更改):
| 物品 |
普通 (原版) |
垃圾 |
稀有 |
传说 |
| 附魔书(随机等级的灵魂疾行) |
5 (~1.07%) |
0 |
14 (~3.98%) |
40 (~25.6%) |
| 铁靴(随机等级的灵魂疾行) |
8 (~1.71%) |
0 |
16 (~4.54%) |
24 (~15.4%) |
| 喷溅型抗火药水 |
8 (~1.71%) |
0 |
16 (~4.54%) |
24 (~15.4%) |
| 抗火药水 |
8 (~1.71%) |
0 |
16 (~4.54%) |
24 (~15.4%) |
| 水瓶 |
10 (~2.13%) |
0 |
20 (~5.68%) |
10 (~6.41%) |
| 干凝胶 |
10 (~2.13%) |
0 |
20 (~5.68%) |
10 (~6.41%) |
| 铁粒 (x10-36) |
10 (~2.13%) |
0 |
20 (~5.68%) |
10 (~6.41%) |
| 末影珍珠 (x2-4) |
10 (~2.13%) |
0 |
20 (~5.68%) |
10 (~6.41%) |
| 线 (x3-9) |
20 (~4.26%) |
10 (~2.63%) |
15 (~4.26%) |
2 (~1.28%) |
| 下界石英 (x5-12) |
20 (~4.26%) |
10 (~2.63%) |
15 (~4.26%) |
2 (~1.28%) |
| 黑曜石 |
40 (~8.53%) |
40 (~10.52%) |
20 (~5.68%) |
0 |
| 火焰弹 |
40 (~8.53%) |
40 (~10.52%) |
20 (~5.68%) |
0 |
| 哭泣的黑曜石 (x1-3) |
40 (~8.53%) |
40 (~10.52%) |
20 (~5.68%) |
0 |
| 皮革 (x2-4) |
40 (~8.53%) |
40 (~10.52%) |
20 (~5.68%) |
0 |
| 灵魂沙 (x2-8) |
40 (~8.53%) |
40 (~10.52%) |
20 (~5.68%) |
0 |
| 下界砖块 (x2-8) |
40 (~8.53%) |
40 (~10.52%) |
20 (~5.68%) |
0 |
| 光灵箭 (x6-12) |
40 (~8.53%) |
40 (~10.52%) |
20 (~5.68%) |
0 |
| 砂砾 (x8-16) |
40 (~8.53%) |
40 (~10.52%) |
20 (~5.68%) |
0 |
| 玄武岩 (x8-16) |
40 (~8.53%) |
40 (~10.52%) |
20 (~5.68%) |
0 |
自定义配置
配置文件位于实例的 config 文件夹中,名为 fairbartering.json5。其中包含一个自定义交易货币列表,格式如下:
[
...
{
"item": "minecraft:gold_ingot",
"worth": 1,
"tier": "COMMON",
"delay": 1.0
},
...
]
// 更多详细信息请参阅配置文件内部说明
每个物品对象包含四个参数:
item : 物品名称,包括其命名空间,格式为 namespace:item_name。
worth : 使用该物品进行交易时一次性交易的次数。
tier : 指定交易将使用的战利品表层级。可以是 COMMON、TRASH、RARE 或 LEGENDARY 之一。详情请见上文。
delay : 使用该物品进行交易所需等待时间的乘数因子。1.0 是原版数值(6秒),而 2.0 表示交易大约需要 12 秒。
请注意,您需要重启游戏才能使更改生效。
? 依赖项
⏱️ 未来更新计划
- UI 配置界面
- 更好地自定义战利品表层级
- 向后移植到旧版 Minecraft
- 提供针对不同玩法风格的预设配置
- 无需重启游戏即可重新加载配置
- 如果您有建议,请在此处提交 here!
? 已知问题
- 目前暂无。 如果您发现问题,请在此处报告 here
©️ 致谢
图标使用 Inkscape 和 Blockbench 制作,使用了 Twemoji 和 FiraCode
Multiloader Template by jaredlll08
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 format namespace: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 of COMMON, TRASH, RARE or LEGENDARY. 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
⏱️ 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
评论 0
登录后参与评分
还没有评论,来抢沙发吧