炼金系统
基本信息
| 属性 | 值 |
|---|---|
| 转译配方数 | 57 |
| 药水配方数 | 26 |
| 试剂种类 | 15(见 炼金试剂) |
| 欧米伽范式 | 4 |
| 注册入口 | AlchemicalWizardry.load() 与 AlchemicalWizardry.initReagentRegistries() |
炼金(Alchemy)是本模组中与血之祭坛、仪式并列的第三套配方系统,以「试剂流体 + 催化剂」在容器中转译物品。
三套系统的区分
| 系统 | 载体 | 配方表 | 条数 |
|---|---|---|---|
| 血之祭坛 | 血之祭坛方块 | AltarRecipeRegistry |
25 |
| 仪式 | 仪式石结构 | Rituals.ritualMap |
36 |
| 炼金 | 炼金煅烧炉 + 试剂管道 | AlchemyRecipeRegistry |
57 |
转译配方(57 条)
全部 57 条 AlchemyRecipeRegistry.registerRecipe 调用位于 AlchemicalWizardry.load() 内部(AlchemicalWizardry.java:733-3237),无第二个注册点(已用 grep -rln 跨全仓库确认只有 AlchemicalWizardry.java 一个文件含该调用)。
签名(AlchemyRecipeRegistry):
registerRecipe(ItemStack result, int outputCount, ItemStack[] inputs, int catalystCount)
已核实的若干条(从 AlchemicalWizardry.java:3180-3219 逐条读取):
| 产物 | 数量 | 材料 | 催化剂数 |
|---|---|---|---|
| 雪球 | 2 | 水桶 + 雪球 | 1 |
| 冰 | 2 | 水桶 + 雪球 | 1 |
普通药水(1.7.10 的 potionitem meta 0) |
1 | 玻璃瓶 + 仙人掌 | 1 |
| 水桶 | 1 | 空桶 + 仙人掌 | 1 |
| 玻璃 × 3 | 3 | 玻璃 × 3 | 1 |
| 恶魂之泪 × 2 | 2 | 恶魂之泪 + 浓催化剂 + 虚弱气血碎片 + 灵魂沙 × 2 | 5 |
| 煤炭 × 5 | 5 | 煤炭 × 5 | 1 |
| 黏土球 × 4 | 4 | 沙子 + 水桶 | 2 |
其中恶魂之泪一条的 催化剂数=5,是已读条目中最高的一条。
其余 49 条转写无法核实(需逐条从 3000 余行的 load() 方法体中提取,本次仅核对了 :3180-3219 区段),本条目不臆造。
炼金药水(26 条)
AlchemicalWizardry.initAlchemyPotionRecipes()(:3428-3510)为每种药水注册「原料 → 药水效果 + 持续时间」,共 26 条 AlchemicalPotionCreationHandler.addPotion 调用,与 26 个 potionDisableXxx 开关一一对应。全部被 potionDisableXxx 配置开关包裹,可逐条关闭。
已核实的原料 → 效果映射(节选,:3428-3509):
| 原料 | 药水效果 | 时长(tick) |
|---|---|---|
| 恶魂之泪 | 原版 Potion.regeneration |
450 |
| 金胡萝卜 | 原版 Potion.nightVision |
2400 |
| 岩浆膏 | 原版 Potion.fireResistance |
2400 |
| 水桶 | 原版 Potion.waterBreathing |
2400 |
| 糖 | 原版 Potion.moveSpeed |
2400 |
| 闪烁西瓜 | 原版 Potion.heal |
2400 |
| 蜘蛛眼 | 原版 Potion.poison |
450 |
| 黑色染料(meta 0) | 原版 Potion.blindness |
450 |
| 发酵蜘蛛眼 | 原版 Potion.weakness |
450 |
| 烈焰粉 | 原版 Potion.damageBoost |
2400 |
aether(以太元素) |
原版 Potion.jump |
2400 |
| 黏土球 | 原版 Potion.moveSlowdown |
450 |
| 红石 | 原版 Potion.digSpeed |
2400 |
| 玻璃瓶 | 原版 Potion.invisibility |
2400 |
| 钻石 | 原版 Potion.resistance |
2400 |
| 毒马铃薯 | Potion.field_76443_y(饱和) |
2 |
| 恶魔气血碎片 | Potion.field_76434_w(生命增强) |
4800 |
| 虚弱气血碎片 | Potion.field_76444_x(吸收) |
4800 |
terrae(泥土粉末) |
本模组自定义 customPotionBoost |
1200 |
| 羽毛 | 本模组自定义 customPotionFlight |
1200 |
| 箭 | 本模组自定义 customPotionReciprocation |
1200 |
| 末影珍珠 | 本模组自定义 customPotionPlanarBinding |
1200 |
| 灵魂沙 | 本模组自定义 customPotionSoulFray |
1200 |
baseItems meta 16 |
本模组自定义 customPotionSoulHarden |
1200 |
| 黏液球 | 本模组自定义 customPotionDeaf |
1200 |
| 普通药水(1.7.10) | 本模组自定义 customPotionDrowning |
450 |
药水 ID 扩容
17 个自定义药水 ID 100–116 全部在 BloodMagicConfiguration.syncConfig() 的 Potion ID 分类中可配置(BloodMagicConfiguration.java:86-102)。preInit 先用反射把 Potion.potionTypes 数组扩容到 256 以容纳它们(AlchemicalWizardry.java:648-667),该段被 try/catch 包裹,失败时仅记录日志(:662-665)。
组合药水
initCombinedAlchemyPotionRecipes()(:4340-4343)仅注册 1 条组合药水:
CombinedPotionRegistry.registerCombinedPotionRecipe(
customPotionFlameCloak, Potion.moveSpeed, Potion.regeneration);
即「烈焰披风」= 速度 + 生命恢复。
数值
| 数值名 | 值 |
|---|---|
| 转译配方 | 57 |
| 药水配方 | 26(= 26 个 potionDisableXxx 开关,一一对应) |
| 组合药水 | 1 |
| 试剂 | 15 |
| 欧米伽范式 | 4 |
| 自定义药水 ID 范围 | 100 – 116(17 个,可配置) |