改进的砂轮
Improved Grindstone 是一款 Paper 插件,可将物品上的附魔移除并写入书中。它还可以在不同兼容物品之间转移附魔。
功能
-
槽位 0:作为源物品的附魔物品。
-
槽位 1 可以是以下任意一种:
- 普通书或空白附魔书,用于将附魔提取到附魔书中。
- 兼容的目标物品(允许相同原型、不同材质)以直接转移附魔。
-
提取操作会保留源物品(已解除附魔),并获得一本包含被移除附魔的附魔书。
-
转移操作会保留源物品(已解除附魔),并将目标物品返回,该物品现在带有转移过来的附魔。
-
可选的诅咒附魔捕获开关。
-
提取和转移拥有独立的经验值消耗开关。
-
基于移动附魔在附魔台中预估成本的独立可配置经验值百分比(默认 50%)。
-
命令:
/improvedgrindstone toggle
/improvedgrindstone status
/improvedgrindstone cursed
/improvedgrindstone xp
/improvedgrindstone transfer
/improvedgrindstone transferxp
/improvedgrindstone specialbook
/improvedgrindstone reload
兼容性
- Paper 1.21.x
- Paper 26.1 -> 26.2
配置
在 config.yml 中配置行为:
feature-enabled: true
capture-cursed: true
book-xp-cost-enabled: true
book-xp-cost-percent: 50.0
transfer-enabled: true
transfer-xp-cost-enabled: true
transfer-xp-cost-percent: 50.0
require-special-book: false
special-book-ids: []
max-enchants-per-operation: 16
max-operation-item-bytes: 24576
special-book-ids 接受命名空间 ID(例如 dingus:blah)。
如果 special-book-ids 为空,则接受任何非原版(non-vanilla)的命名空间标记(物品模型、插件 PDC 键或命名空间显示名称)。
max-enchants-per-operation 是一个安全上限。如果源物品拥有的附魔数量超过此值,将阻止砂轮操作,以避免处理过大或不稳定的附魔数据负载。
max-operation-item-bytes 是对序列化物品大小(源物品/结果物品/额外物品)的附加安全上限。如果涉及的任何物品超出此大小限制,将阻止操作以防止不安全的负载处理。
经验值消耗说明:
- 原版附魔使用其预估的附魔台成本。
- 自定义附魔根据其等级分配一个粗略的原版等效成本,使用最高匹配的原版成本作为基准。
Improved Grindstone
Improved Grindstone is a Paper plugin that removes enchantments from an item and puts them into a book. It can also transfer enchantments between compatible items.
Features
-
Slot 0: enchanted source item.
-
Slot 1 can be either:
- A normal book or a blank enchanted book to extract enchantments into an enchanted book.
- A compatible target item (same archetype, different material allowed) to transfer enchantments directly.
-
Extraction keeps the source item (disenchanted) and gives an enchanted book with removed enchants.
-
Transfer keeps the source item (disenchanted) and returns the target item with transferred enchants.
-
Optional cursed-enchantment capture toggle.
-
Separate XP-cost toggles for extraction and transfer.
-
Separate configurable XP percentages (default 50%) based on estimated enchanting-table cost of the moved enchants.
-
Commands:
/improvedgrindstone toggle
/improvedgrindstone status
/improvedgrindstone cursed
/improvedgrindstone xp
/improvedgrindstone transfer
/improvedgrindstone transferxp
/improvedgrindstone specialbook
/improvedgrindstone reload
Compatibility
- Paper 1.21.x
- Paper 26.1 -> 26.2
Configuration
Configure behavior in config.yml:
feature-enabled: true
capture-cursed: true
book-xp-cost-enabled: true
book-xp-cost-percent: 50.0
transfer-enabled: true
transfer-xp-cost-enabled: true
transfer-xp-cost-percent: 50.0
require-special-book: false
special-book-ids: []
max-enchants-per-operation: 16
max-operation-item-bytes: 24576
special-book-ids accepts namespaced IDs (for example dingus:blah).
If special-book-ids is empty, any non-vanilla namespaced marker is accepted (item model, plugin PDC key, or namespaced display name).
max-enchants-per-operation is a safety cap. If a source item has more enchantments than this value, the grindstone operation is blocked to avoid oversized/unstable enchant payload handling.
max-operation-item-bytes is an additional safety cap on serialized item size (source/result/bonus). If any item involved exceeds this size, the operation is blocked to prevent unsafe payload handling.
XP-cost notes:
- Vanilla enchantments use their estimated enchanting-table costs.
- Custom enchantments are assigned a rough vanilla-equivalent cost from their level, using the highest matching vanilla cost as the baseline.
评论 0
登录后参与评分
还没有评论,来抢沙发吧