QuantumMending
经验修补,但带有等级。 每个等级每点经验值修复更多耐久度,你可以决定最高等级是多少,以及玩家如何获取它。
- 默认等级为 I–V(可配置至 255)
- 高等级通过在铁砧中组合书本获得
- 控制箱子、村民、钓鱼和附魔台能给出的内容
- 适用于 Paper 26.1.2 – 26.3,无需客户端模组
它做什么?
原版经验修补每点经验值修复 2 点耐久度,且只有一个等级。QuantumMending 增加了更多等级,每个等级修复的耐久度更多:
| 等级 |
每点经验值修复耐久度(默认) |
示例:10 点经验值修复 |
| I |
2(与原版的相同) |
20 |
| II |
4 |
40 |
| III |
6 |
60 |
| IV |
8 |
80 |
| V |
10 |
100 |
这些数值来自配置文件中的 repair-per-xp,因此你可以让增长曲线变得平缓或陡峭。
获取更高等级
铁砧。 运作方式与其他任何附魔相同:
| 组合 |
结果 |
| 经验修补 I + 经验修补 I |
经验修补 II |
| 经验修补 II + 经验修补 II |
经验修补 III |
| 经验修补 IV + 经验修补 IV |
经验修补 V |
| 经验修补 III + 经验修补 I |
经验修补 III |
两个相同等级的书本会合成为下一个等级,直到你的最大等级。铁砧消耗为 anvil-cost × 最终等级(使用书时减半),加上通常的铁砧惩罚。如果你希望成本更低,可以将 anvil-cost 设置得更低。
箱子、村民和钓鱼。 这些通常会随机选择一个等级,这会非常容易发放高等级。QuantumMending 通过 loot.max-level(默认为 I)对它们进行限制,因此高等级必须通过合成获得。
附魔台(可选)。 默认关闭,如同原版一样。如果你开启它,你可以选择经验修补出现的频率(weight)以及它能生成的最高等级(max-level)。
配置
默认 config.yml
# 最高经验修补等级 (1-255)
max-level: 5
# 每点经验值修复的耐久度:基础值 + 每等级增量 * (等级 - 1)
repair-per-xp:
base: 2.0
per-level: 2.0
# 铁砧消耗乘数(原版的值为 4)
anvil-cost: 4
# 结构箱子、村民交易和钓鱼的最高等级
loot:
max-level: 1
# 附魔台
enchanting-table:
enabled: false
weight: 2 # 相对概率(原版经验修补为 2)
max-level: 1
# 当管理员加入时通知新版本更新
update-check: true
附魔台概率。 weight 是相对于其他附魔而言的,因此实际概率取决于物品。这些数字是在 Paper 服务器上通过在每种设置下附魔 20,000 次测量得出的:
| weight |
书 (30 级) |
钻石镐 (30 级) |
铁剑 (30 级) |
钻石镐 (15 级) |
| 1 |
1.5% |
18% |
8% |
10% |
| 2 |
3% |
28% |
15% |
18% |
| 5 |
7% |
47% |
30% |
34% |
| 10 |
14% |
63% |
46% |
50% |
命令与权限
| 命令 |
权限 |
默认值 |
/quantummending reload (别名 /qm reload) |
quantummending.reload |
OP |
| (加入时的更新通知) |
quantummending.update |
OP |
常见问题
更改配置后需要重启吗?
对于 loot.max-level、enchanting-table.enabled 和 enchanting-table.max-level,执行 /qm reload 就足够了。max-level、repair-per-xp、anvil-cost 和 enchanting-table.weight 需要重启,因为 Minecraft 仅在启动时读取附魔定义。重载命令会在需要时告知你。
我的玩家已经拥有的经验修补物品会发生什么?
它们将保持在 I 级。请使用铁砧将它们升级。
它是如何工作的?
该插件生成一个小数据包来覆盖 minecraft:mending,因此修复和经验值的计算保持原版逻辑。 loot、交易、钓鱼和附魔台的等级上限是通过事件应用的。
它会通知我更新吗?
是的。它在启动时检查 GitHub 以获取新版本,并在管理员加入时通知他们。设置 update-check: false 可以关闭此功能。
兼容性
- Paper 26.1.2, 26.2 和 26.3 (Java 25)
- 未在 Spigot、Purpur 或 Folia 上测试
- 未与其他附魔插件一起测试
链接
QuantumMending
Mending, but with levels. Each level repairs more durability per XP, and you decide how high it goes and how players can get it.
- Levels I–V by default (configurable up to 255)
- Higher levels are made by combining books in an anvil
- Control what chests, villagers, fishing and the enchanting table can give
- Works on Paper 26.1.2 – 26.3, no client mod needed
What does it do?
Vanilla Mending repairs 2 durability per XP and has only one level. QuantumMending adds more levels, and each one repairs more:
| Level |
Durability per XP (default) |
Example: 10 XP repairs |
| I |
2 (same as vanilla) |
20 |
| II |
4 |
40 |
| III |
6 |
60 |
| IV |
8 |
80 |
| V |
10 |
100 |
The numbers come from repair-per-xp in the config, so you can make the curve as gentle or as steep as you like.
Getting higher levels
Anvil. Works like any other enchantment:
| Combine |
Result |
| Mending I + Mending I |
Mending II |
| Mending II + Mending II |
Mending III |
| Mending IV + Mending IV |
Mending V |
| Mending III + Mending I |
Mending III |
Two books of the same level make the next level, up to your max level. The anvil cost is anvil-cost × resulting level (halved when using a book), plus the usual anvil penalty. Set anvil-cost lower if you want it cheaper.
Chests, villagers and fishing. These normally pick a random level, which would hand out high levels very easily. QuantumMending caps them with loot.max-level (default I), so higher levels have to be crafted.
Enchanting table (optional). Off by default, as in vanilla. If you turn it on, you choose how often Mending appears (weight) and the highest level it can roll (max-level).
Configuration
Default config.yml
# Highest Mending level (1-255)
max-level: 5
# Durability repaired per XP: base + per-level * (level - 1)
repair-per-xp:
base: 2.0
per-level: 2.0
# Anvil cost multiplier (vanilla is 4)
anvil-cost: 4
# Highest level from structure chests, villager trades and fishing
loot:
max-level: 1
# Enchanting table
enchanting-table:
enabled: false
weight: 2 # relative chance (vanilla Mending is 2)
max-level: 1
# Tell ops about new releases when they join
update-check: true
Enchanting table odds. weight is relative to the other enchantments, so the real chance depends on the item. These numbers were measured on a Paper server by enchanting 20,000 times at each setting:
| weight |
Book (level 30) |
Diamond pickaxe (level 30) |
Iron sword (level 30) |
Diamond pickaxe (level 15) |
| 1 |
1.5% |
18% |
8% |
10% |
| 2 |
3% |
28% |
15% |
18% |
| 5 |
7% |
47% |
30% |
34% |
| 10 |
14% |
63% |
46% |
50% |
Commands & permissions
| Command |
Permission |
Default |
/quantummending reload (alias /qm reload) |
quantummending.reload |
OP |
| (update notice when joining) |
quantummending.update |
OP |
FAQ
Do I need to restart after changing the config?
For loot.max-level, enchanting-table.enabled and enchanting-table.max-level, /qm reload is enough. max-level, repair-per-xp, anvil-cost and enchanting-table.weight need a restart, because Minecraft only reads enchantment definitions at startup. The reload command tells you when that's the case.
What happens to Mending items my players already have?
They stay at level I. Use the anvil to level them up.
How does it work?
The plugin generates a small datapack that overrides minecraft:mending, so repair and XP maths stay vanilla. The level caps for loot, trades, fishing and the enchanting table are applied through events.
Will it notify me about updates?
Yes. It checks GitHub for new releases on startup and tells ops when they join. Set update-check: false to turn it off.
Compatibility
- Paper 26.1.2, 26.2 and 26.3 (Java 25)
- Not tested on Spigot, Purpur or Folia
- Not tested together with other enchantment plugins
Links
评论 0
登录后参与评分
还没有评论,来抢沙发吧