一个 Paper 插件,添加了可制作的治愈之书。右键点击村民即可使用该物品,使该村民立即为玩家提供永久的僵尸治疗交易折扣。
注意:此操作不会授予“僵尸医生”进度;如果配置了 lightning: true(闪电),则会授予“避雷针”进度。
同一玩家再次对同一只村民使用治愈之书不会产生额外效果,因为永久增益仅生效一次。不同玩家会获得各自的折扣,因为声望是基于 UUID 计算的。
模式(config.yml 中的 mode)
INSTANT(默认):保持相同的村民实体——不触碰任何交易——并直接授予声望。可选择向附近村民传播短暂的小额折扣,模拟原版治愈光环的效果。
AUTHENTIC:实际调用 villager.zombify(),将你设为转化玩家,并设置较短的转化时间,以便原版运行真正的僵尸→村民治愈过程,包含颤抖动画并授予相应的社交关系。
合成配方
RPR R = 腐肉
GBG P = 喷溅型虚弱药水(普通或延时)
RPR G = 金苹果 B = 书
命令
/curingtome give [玩家] [数量] — 给予治愈之书(权限:curingtome.give,默认 OP)
/curingtome recipe — 打印并解锁合成配方
/curingtome reload — 重载配置(权限:curingtome.reload,默认 OP)
别名:/ctome。
用法
MIT 许可证。如果您重新分发本插件,请链接回原始仓库以提交错误报告和维护等事宜。
A Paper plugin that adds a craftable Curing Tome. Right-click a villager with it and that villager instantly grants the player the permanent zombie-cure trade discount.
Note: This does not grant the Zombie Doctor advancement, if effects: lightning: true it will grant Surge Protector.
Using the tome again on the same villager as the same player does nothing extra for the permanent bonus. A different player gets their own discount, since the reputation is per-UUID.
Modes (mode in config.yml)
INSTANT (default): keeps the same villager entity — trades are never touched — and grants the reputation directly. Optionally spreads a small temporary discount to nearby villagers, mimicking the vanilla cure aura.
AUTHENTIC: literally calls villager.zombify(), sets you as the conversion player, and gives it a short conversion time so vanilla runs the real zombie→villager cure with the shaking animation and awards the gossip itself.
Crafting
RPR R = Rotten Flesh
GBG P = Splash Potion of Weakness (normal or long)
RPR G = Golden Apple B = Book
Commands
/curingtome give [player] [amount] — give tomes (perm: curingtome.give, default op)
/curingtome recipe — prints and unlocks recipe
/curingtome reload — reload config (perm: curingtome.reload, default op)
Alias: /ctome.
Usage
MIT License, if you redistribute please link back to the original repo for bug reports and maintenance, etc.
评论 0
登录后参与评分
还没有评论,来抢沙发吧