潘多拉的赐福
本页介绍适用于 Minecraft 1.20.1 和 Forge 的 版本 1.5.1。请在客户端和服务端安装相同版本的模组。
Blessing of Pandora 是 Curse of Pandora 的一个 Forge 1.20.1 附加模组。它允许你将七种现实诅咒逆转为七种理想赐福,将它们的限制转化为馈赠,而非单纯堆叠战斗增益。
运作原理
当满足逆转条件时,佩戴的诅咒护符会通过特殊的 NBT 数据就地转化。没有单独的合成配方、替换物品或制作步骤。转化后的物品保留 Curse of Pandora 的物品和模型,获得金色名称及附魔光泽,并绑定给完成逆转的玩家。
在生存模式中,可以移除已转化的赐福。如果其他玩家试图佩戴绑定给别人的赐福,其名称和工具提示将变得乱码,且效果不会生效。
七种赐福
| 赐福 |
效果 |
现实指数 |
| Ideal First Blessing: Freedom |
+1 项链饰品栏位 |
+1 |
| Ideal Second Blessing: Infinity |
+1 手镯饰品栏位 |
+1 |
| Ideal Third Blessing: Spirit |
幸运 +10 |
+1 |
| Ideal Fourth Blessing: Strength |
强壮 +0.5 |
+1 |
| Ideal Fifth Blessing: Fearlessness |
无饰品栏位 |
+2 |
| Ideal Sixth Blessing: Requiem |
+2 护符饰品栏位 |
+1 |
| Ideal Seventh Blessing: Liberation |
+1 手部饰品栏位 |
+1 |
强壮 (Strong) 属性是本模组注册的一个基于百分比的最大生命值属性,默认值为 0。佩戴 Ideal Fourth Blessing: Strength 会给予 0.5 强壮值,从而增加 50% 的最大生命值。
诅咒逆转
每种现实诅咒都有其特定的逆转条件。佩戴的诅咒物品会直接转化为对应的赐福。以下是默认条件;服务器配置可以更改这些条件。
- Cage -> Freedom: 佩戴第一现实诅咒:Cage,并在拥有力量效果的同时,主手为空时击杀凋灵。
- Limitation -> Infinity: 佩戴第二现实诅咒:Limitation,在主世界中从 Y >= 666 坠落至 Y <= -60。
- Flesh -> Spirit: 佩戴第三现实诅咒:Flesh,并在隐身状态下被闪电击中。
- Weakness -> Strength: 佩戴第四现实诅咒:Weakness,击杀最大生命值大于等于 325 的虚弱生物。
- Fear -> Fearlessness: 佩戴第五现实诅咒:Fear,手持幽匿尖啸体,并击杀监守者。
- Broken Soul -> Requiem: 佩戴第六现实诅咒:Broken Soul,通过维持至少三种其他增益效果和五种负面效果来获得灵魂雕刻(Soul Sculpting),然后吸收 2,000,000 经验值。
- Spellbound -> Liberation: 佩戴第七现实诅咒:Spellbound。它有 0.0001% 的概率在每个游戏刻进行转化,加上该物品上每个诅咒附魔额外增加 0.0005% 的概率。
安装 JEI 后,每种逆转都可以作为专门的指南页面查看。
在 1.5.1 中,Broken Soul 吸收的经验值按玩家单独保存,重启后依然保留。失去灵魂雕刻状态会暂停吸收过程;移除相应的佩戴物品会根据现有的移除规则重置进度。吸收使用玩家当前的等级和经验条,永远不会超过剩余所需量,并且每游戏刻限制为 50,000 点。
Spellbound 对每种不同等级的诅咒附魔只计算一次,结合存储的附魔与 Forge 提供的附魔。这支持原版诅咒、Pandora's Curse、Celestial Enchantments 以及其他使用标准诅咒标志的模组。
逆转 HUD
潜行+右键点击潘多拉项链或潘多拉手镯可打开全局逆转 HUD。默认 P 键在佩戴任一潘多拉持有物时也可打开它。
全局 HUD 列出所有七种赐福,并显示每种对应诅咒的当前逆转条件。每种赐福都有自己允许的/禁止的按钮,控制该诅咒是否允许自动逆转。
潜行+右键点击任何现实诅咒物品会打开针对该诅咒逆转权限的专用 HUD。潘多拉项链、潘多拉手镯以及所有七种诅咒物品都会显示一行淡灰色的“潜行 + 右键查看逆转方法”工具提示。
HUD 和 JEI 页面均从 config/blessingofpandora.toml 读取可配置的逆转数值。在多人游戏中,1.5.1 会在登录和配置重新加载时同步服务器的设置,因此显示的跟随服务器条件。HUD 适应窗口大小,自动换行,并在较小的窗口上支持垂直滚动。
对于第七现实诅咒,HUD 和 JEI 页面还会实时显示当前佩戴物品上识别出的诅咒附魔数量,以及根据该数量计算出的实际转化概率。
可配置的数值以粗体黄色高亮显示,而实时的第七诅咒附魔计数和实际转化概率则以粗体青色高亮显示。
第六现实诅咒的 HUD 和 JEI 描述还会显示当前吸收的经验值,随着 Broken Soul 消耗经验而由服务器更新。
潘多拉的赐福转换调试棒(Pandora's Blessing Transformation Debug Stick)仍然可用用于测试,但其合成配方已被移除。创造模式玩家或拥有操作权限的玩家手持此棒可以打开一个单独的直接转换 HUD。服务器会验证访问权限,且还原赐福要求该物品属于玩家或未被绑定。
灵魂雕刻
当至少有 三种其他增益效果和五种负面效果 处于激活状态时,会自动授予灵魂雕刻(Soul Sculpting)。当任一要求不再满足时,灵魂雕刻会被移除。不添加任何药水玻璃瓶或酿造配方。
在灵魂雕刻激活期间,受影响实体获得 20% 最大生命值 并受到 20% 额外伤害。其获取条件在相关物品、HUD 和 JEI 描述中均有展示。
潘多拉的诅咒与磨刀石转移
潘多拉的诅咒是一种宝藏诅咒附魔。它可能出现在战利品箱装备上,前提是战利品的附魔规则允许其出现。
在 1.5.1 版本中,将携带已储存的“潘多拉的诅咒”的装备放入磨石的一个输入槽,将普通书放入另一个输入槽。取出结果会获得一本带有“潘多拉的诅咒”附魔的书,并消耗一本普通书。装备保留在其输入槽中,所有已储存的附魔及其修复惩罚均被移除;但其耐久度、名称和其他数据得以保留。
如果在取出结果前取消操作,输入内容保持不变。此转移过程不会奖励额外经验,也不会将仅限动态的附魔提取为无限数量的书籍。
潘多拉手镯
这两个特殊的手镯使用潘多拉自身的 pandora:pandora_bracelet 物品。本模组仅向它们写入特殊的 NBT 数据。
- 当玩家第一次同时佩戴全部七个现实诅咒时,他们会获得一个带有 序章 章节 NBT 的手镯。
- 每当玩家将一个已佩戴的诅咒转化为祝福时,从诅咒到祝福 属性增加 1。
- 从诅咒到祝福 初始值为 0,上限为 7。
- 当该属性首次达到 7 时,玩家会获得一个带有 终章 章节 NBT 的手镯。此后,该值不再变化,相关检查也不再重复触发。
两个手镯都会记录获得它们的玩家。只有该玩家才能装备这些手镯。
在 1.5.1 版本中,死亡和重新登录后,“从诅咒到祝福”的进度得以保留。已在旧版本中获得终章但丢失了计数的玩家,会恢复计数为 7,而不会获得重复的手镯。
命令
以下命令需要操作员权限,默认情况下处于禁用状态。在 config/blessingofpandora.toml 中设置 enableCommands = true 并重启后,这些命令方可使用。
转换玩家身上匹配的诅咒:
/blessingofpandora 1
/blessingofpandora 2
/blessingofpandora 3
/blessingofpandora 4
/blessingofpandora 5
/blessingofpandora 6
/blessingofpandora 7
数字分别对应自由、无限、灵魂、力量、无畏、安魂与解放。转化后的祝福归属于当前玩家。
给予祝福物品:
/blessingofpandora give freedom
/blessingofpandora give freedom @p
/blessingofpandora giveall
/blessingofpandora giveall @p
/giveblessing freedom
/giveblessing freedom @p
可用的祝福名称包括:freedom(自由)、infinity(无限)、spirit(灵魂)、strength(力量)、fearlessness(无畏)、requiem(安魂)以及 liberation(解放)。
东方小女仆支持
安装 Touhou Little Maid 后,女仆可以通过 Curios 系统,在潘多拉项链内佩戴祝福物品。
- 如果女仆的所有者 UUID 与祝福的所有者 UUID 匹配,则祝福会为其提供饰品栏位、属性以及现实指数。
- 如果所有者不匹配,或者女仆没有所有者,则这些效果不会触发。
通过命令赋予的未绑定祝福物品可由任何玩家或女仆使用。
兼容性
- Minecraft: 1.20.1
- 加载器: Forge
- 必需: Curse of Pandora 2.4.26 或更高版本
- 必需: Curios API 5.4.5 或更高版本
- 可选: JEI,用于显示逆转指南页面
- 可选: Touhou Little Maid,用于女仆支持
- 可选: Iron's Spells 'n Spellbooks、Goety 和 Apothic Attributes 被声明为可选兼容依赖项
本模组设计用于客户端和专用服务器安装。它还包含一个防御性 mixin,用于防止在移除多个潘多拉持有者之一(例如一条项链和两个手镯)时可能发生的 Pandora API 调整大小崩溃。
源码
Blessing of Pandora
This page describes version 1.5.1 for Minecraft 1.20.1 and Forge. Install the same mod version on the client and server.
Blessing of Pandora is a Forge 1.20.1 addon for Curse of Pandora. It lets you reverse the seven reality curses into seven ideal blessings, turning their limitations into gifts instead of simply stacking more combat buffs.
How It Works
When a reversal condition is met, the worn curse charm is transformed in place through special NBT. There is no separate recipe, replacement item, or crafting step. The transformed item keeps the Curse of Pandora item and model, gains a golden name and an enchanted glint, and is bound to the player who completed the reversal.
Transformed blessings can be removed in Survival mode. If another player tries to wear a blessing that is bound to someone else, its name and tooltip become scrambled and its effects do not apply.
The Seven Blessings
| Blessing |
Effect |
Reality Index |
| Ideal First Blessing: Freedom |
+1 Necklace curio slot |
+1 |
| Ideal Second Blessing: Infinity |
+1 Bracelet curio slot |
+1 |
| Ideal Third Blessing: Spirit |
Luck +10 |
+1 |
| Ideal Fourth Blessing: Strength |
Strong +0.5 |
+1 |
| Ideal Fifth Blessing: Fearlessness |
No curio slot |
+2 |
| Ideal Sixth Blessing: Requiem |
+2 Charm curio slots |
+1 |
| Ideal Seventh Blessing: Liberation |
+1 Hands curio slot |
+1 |
The Strong attribute is a new percentage-based max health attribute registered by this mod. Its default value is 0. Wearing the Ideal Fourth Blessing: Strength grants 0.5 Strong, which increases max health by 50%.
Curse Reversals
Each reality curse has its own reversal condition. The worn curse item transforms directly into the corresponding blessing. The following are the default conditions; server configuration can change them.
- Cage -> Freedom: Wear the First Reality Curse: Cage and cause a Wither kill with an empty main hand while under the Strength effect.
- Limitation -> Infinity: Wear the Second Reality Curse: Limitation and fall from Y >= 666 to Y <= -60 in the Overworld.
- Flesh -> Spirit: Wear the Third Reality Curse: Flesh and get struck by lightning while under Invisibility.
- Weakness -> Strength: Wear the Fourth Reality Curse: Weakness and kill a Weak mob with 325 or more max health.
- Fear -> Fearlessness: Wear the Fifth Reality Curse: Fear, hold a Sculk Shrieker, and kill a Warden.
- Broken Soul -> Requiem: Wear the Sixth Reality Curse: Broken Soul, gain Soul Sculpting by maintaining at least three other beneficial effects and five harmful effects, then absorb 2,000,000 experience points.
- Spellbound -> Liberation: Wear the Seventh Reality Curse: Spellbound. It has a 0.0001% chance to transform every game tick, plus an extra 0.0005% per curse enchantment on the item.
With JEI installed, each reversal can be viewed as a dedicated guide page.
In 1.5.1, Broken Soul's absorbed experience is saved per player and survives restarts. Losing Soul Sculpting pauses absorption; removing the corresponding worn item resets progress according to the existing removal rule. Absorption uses the player's current level and experience bar, never takes more than the remaining requirement, and is limited to 50,000 points per game tick.
Spellbound counts each distinct positive-level curse enchantment once, combining stored enchantments with Forge-provided enchantments. This supports vanilla curses, Pandora's Curse, Celestial Enchantments, and other mods using the standard curse flag.
Reversal HUD
Sneak-right-click a Pandora necklace or Pandora bracelet to open the global reversal HUD. The default P key also opens it while wearing either Pandora holder.
The global HUD lists all seven blessings and shows the current reversal conditions for each corresponding curse. Each blessing has its own allowed/blocked button, controlling whether that curse is allowed to reverse automatically.
Sneak-right-clicking any Reality Curse item opens a dedicated HUD for that curse's reversal allowed/blocked permission. Pandora necklaces, Pandora bracelets, and all seven curse items show a pale gray "Sneak + Right-click to view reversal methods" tooltip line.
The HUD and JEI pages both read configurable reversal values from config/blessingofpandora.toml. In multiplayer, 1.5.1 synchronizes the server's settings on login and configuration reload, so the displayed conditions follow the server. The HUD adapts to the window size, wraps text, and supports vertical scrolling on smaller windows.
For the Seventh Reality Curse, the HUD and JEI page also show the current number of recognized curse enchantments on the worn item and the actual conversion chance calculated from that count in real time.
Configurable values are highlighted in bold yellow, while live Seventh Curse enchantment counts and actual conversion chances are highlighted in bold aqua.
The Sixth Reality Curse HUD and JEI descriptions also show the current absorbed experience points, updated from the server as Broken Soul drains experience.
The Pandora's Blessing Transformation Debug Stick remains available for testing, but its crafting recipe has been removed. Creative players or operators holding it can open a separate direct transformation HUD. The server validates access, and reverting a blessing requires it to belong to the player or be unbound.
Soul Sculpting
Soul Sculpting is automatically granted while at least three other beneficial effects and five harmful effects are active. It is removed when either requirement is no longer met. No potion bottles or brewing recipes are added.
While Soul Sculpting is active, the affected entity gains 20% maximum health and takes 20% extra damage. Its acquisition condition is shown in the relevant item, HUD, and JEI descriptions.
Pandora's Curse and Grindstone Transfer
Pandora's Curse is a treasure curse enchantment. It can appear on loot-chest equipment where the loot's enchantment rules allow it.
In 1.5.1, place equipment carrying a stored Pandora's Curse in either grindstone input and a regular book in the other. Taking the result gives you a Pandora's Curse enchanted book and consumes one regular book. The equipment remains in its input slot, with all stored enchantments and its repair penalty removed; its damage, name, and other data are preserved.
Canceling before taking the result leaves the inputs unchanged. This transfer awards no extra experience and does not extract dynamic-only enchantments into an unlimited supply of books.
Pandora Bracelets
The two special bracelets use Curse of Pandora's own pandora:pandora_bracelet item. This mod only writes special NBT to them.
- The first time a player wears all seven reality curses at once, they receive a bracelet with the Prologue chapter NBT.
- Each time a player transforms one worn curse into a blessing, the Cursed to Blessed attribute increases by 1.
- Cursed to Blessed starts at 0 and is capped at 7.
- The first time the attribute reaches 7, the player receives a bracelet with the Finale chapter NBT. After that, the value no longer changes and the check no longer repeats.
Both bracelets record the player who received them. Only that player can equip them.
In 1.5.1, Cursed to Blessed progress survives death and relogging. Players who already received the Finale but lost their count in an older version recover a count of seven without receiving a duplicate bracelet.
Commands
The following commands require operator permissions and are disabled by default. Set enableCommands = true in config/blessingofpandora.toml and restart before they become available.
Transform the matching curse worn by the player:
/blessingofpandora 1
/blessingofpandora 2
/blessingofpandora 3
/blessingofpandora 4
/blessingofpandora 5
/blessingofpandora 6
/blessingofpandora 7
The numbers correspond to Freedom, Infinity, Spirit, Strength, Fearlessness, Requiem, and Liberation. Transformed blessings belong to the current player.
Give blessing items:
/blessingofpandora give freedom
/blessingofpandora give freedom @p
/blessingofpandora giveall
/blessingofpandora giveall @p
/giveblessing freedom
/giveblessing freedom @p
Available blessing names: freedom, infinity, spirit, strength, fearlessness, requiem, and liberation.
Touhou Little Maid Support
With Touhou Little Maid installed, maids can wear blessing items inside a Pandora necklace through Curios.
- If the maid's owner UUID matches the blessing owner UUID, the blessing provides its curio slot, attributes, and Reality Index to the maid.
- If the owner does not match, or the maid has no owner, those effects do not trigger.
Unbound blessing items given through commands can be used by any player or maid.
Compatibility
- Minecraft: 1.20.1
- Loader: Forge
- Required: Curse of Pandora 2.4.26 or later
- Required: Curios API 5.4.5 or later
- Optional: JEI for reversal guide pages
- Optional: Touhou Little Maid for maid support
- Optional: Iron's Spells 'n Spellbooks, Goety, and Apothic Attributes are declared as optional compatibility dependencies
The mod is designed for both client and dedicated server installation. It also includes a defensive mixin for the Pandora API resize crash that can occur when removing one of multiple Pandora holders, such as a necklace and two bracelets.
Source
评论 0
登录后参与评分
还没有评论,来抢沙发吧