附魔与冷凝系统

基本信息

天境有两套平行的转化系统,都通过 AetherAPI.instance().register(...) 注册,由祭坛与冰冻器驱动:

系统 注册方法 条目数 驱动方块 燃料
附魔(Enchantment) AetherRegistries.initializeEnchantments() 86 祭坛 enchanter 神能晶片(500)
冷凝(Freezable) AetherRegistries.initializeFreezables() 12 冰冻器 freezer 冰石(500)

两个方法都在 AetherRegistries.register()(AetherRegistries.java:333-341)中被调用,而 register() 由主模组 Aether.init 触发(Aether.java:50),因此全部条目均为实际生效的注册。

功能

附魔系统(86 条)

AetherEnchantment 有 6 个构造重载(AetherEnchantment.java:15-36),接受 Item / ItemStack / Block 的组合,因此方块也能被附魔。

类别 条目数 耗时区间
天境工具(天根木/圣石/紫晶/重力晶) 16 225 / 550 / 2250 / 5500
天境护甲(紫晶/重力晶) 8 6000 / 13000
天境饰品(紫晶戒指/链坠) 2 2250
天境方块(圣石/重力矿/速沙) 3 750 / 1000 / 250
天境消耗品(飞镖/吹箭筒/水桶/蓝莓) 4 250 / 500 / 1000 / 300
原版工具(木/石/铁/钻 × 5 种) 20 225 / 550 / 2250 / 5500
原版护甲(皮/铁/金/锁链/钻 × 4 件) 20 550 / 6000 / 2250 / 10000
原版杂物(弓/钓竿/11 张唱片) 13 600 / 4000 / 2500

天境工具与护甲

输入 中文名 耗时
aether_legacy:skyroot_pickaxe / axe / shovel / sword 天根木镐/斧/锹/剑 225
aether_legacy:holystone_pickaxe / axe / shovel / sword 圣石镐/斧/锹/剑 550
aether_legacy:zanite_pickaxe / axe / shovel / sword 紫晶镐/斧/锹/剑 2250
aether_legacy:gravitite_pickaxe / axe / shovel / sword 重力晶镐/斧/锹/剑 5500
aether_legacy:zanite_helmet / chestplate / leggings / boots 紫晶头盔/胸甲/护腿/战靴 6000
aether_legacy:gravitite_helmet / chestplate / leggings / boots 重力晶盔/甲/护腿/靴 13000

重力晶护甲 13000 tick 是全表最长的附魔(约 10 分 50 秒)。

天境方块与消耗品

输入 产物 耗时 来源
BlocksAether.holystone aether_legacy:healing_stone 750 AetherRegistries.java:169
BlocksAether.gravitite_ore BlocksAether.enchanted_gravitite 1000 AetherRegistries.java:171
BlocksAether.quicksoil BlocksAether.quicksoil_glass 250 AetherRegistries.java:173
ItemsAether.blueberry ItemsAether.enchanted_blueberry 300 AetherRegistries.java:176
ItemsAether.dart meta 2 (转化) 250 AetherRegistries.java:156
ItemsAether.dart_shooter meta 2 (转化) 500 AetherRegistries.java:158-159
skyroot_bucket meta 2(毒液) skyroot_bucket meta 3(药剂),容器物品清空 1000 AetherRegistries.java:161-166

原版工具与护甲

天境祭坛可以附魔原版物品,这是模组的重要整合点:

原版工具 耗时 原版护甲 耗时
木镐/斧/锹/锄/剑 225 皮头盔/胸甲/护腿/靴 550
石镐/斧/锹/锄/剑 550 铁头盔/胸甲/护腿/靴 6000
铁镐/斧/锹/锄 2250 金头盔/胸甲/护腿/靴 2250
铁剑 550 锁链头盔/胸甲/护腿/靴 2250
钻镐/斧/锹/锄/剑 5500 钻头盔/胸甲/护腿/靴 10000

一处数值不一致(原样记录,不断言为缺陷):AetherRegistries.java:237 给 Items.iron_sword 的耗时是 550,而同为铁制的 iron_pickaxe(:229)、iron_axe(:231)、iron_shovel(:233)、iron_hoe(:235)都是 2250。其余所有「铁质 5 件套」都统一为一个值。此处逐字记录该差异;本仓库未找到任何注释或文档说明 550 是有意为之,因此不断言其为 bug。

原版杂物

输入 产物 耗时 来源
Items.bow — 4000 AetherRegistries.java:179
Items.fishing_rod — 600 AetherRegistries.java:181
Items.record_11 ItemsAether.aether_tune 2500 AetherRegistries.java:184
Items.record_13 ItemsAether.aether_tune 2500 AetherRegistries.java:186
Items.record_blocks ItemsAether.aether_tune 2500 AetherRegistries.java:188
Items.record_cat ItemsAether.legacy 2500 AetherRegistries.java:190
Items.record_far ItemsAether.aether_tune 2500 AetherRegistries.java:192
Items.record_mall ItemsAether.aether_tune 2500 AetherRegistries.java:194
Items.record_mellohi ItemsAether.aether_tune 2500 AetherRegistries.java:196
Items.record_stal ItemsAether.aether_tune 2500 AetherRegistries.java:198
Items.record_strad ItemsAether.aether_tune 2500 AetherRegistries.java:200
Items.record_wait ItemsAether.aether_tune 2500 AetherRegistries.java:202
Items.record_ward ItemsAether.aether_tune 2500 AetherRegistries.java:204

11 张原版唱片中只有 record_cat(猫)产出 legacy 唱片,其余 10 张全部产出 aether_tune(天境之风)。

冷凝系统(12 条)

AetherRegistries.java:301-326 完整注册 12 条:

输入 产物 耗时 来源
BlocksAether.aercloud meta 1(天蓝境云) BlocksAether.aercloud(冷凝态) 100 :303
BlocksAether.skyroot_leaves BlocksAether.crystal_leaves 150 :305
BlocksAether.golden_oak_leaves BlocksAether.crystal_leaves 150 :307
skyroot_bucket meta 1(水) Blocks.ice 500 :309
ItemsAether.ascending_dawn ItemsAether.welcoming_skies 2500 :311
Blocks.ice Blocks.packed_ice 750 :313
Items.water_bucket Blocks.ice 500 :315
Items.lava_bucket Blocks.obsidian 500 :317
ItemsAether.iron_ring ItemsAether.ice_ring 2500 :319
ItemsAether.golden_ring ItemsAether.ice_ring 2500 :321
ItemsAether.iron_pendant ItemsAether.ice_pendant 2500 :323
ItemsAether.golden_pendant ItemsAether.ice_pendant 2500 :325

冷凝系统允许反向使用原版物品(水桶→冰、lava 桶→黑曜石),因此玩家不必进入天境也能使用冰冻器。

附魔燃料与冷凝燃料

各只有一种(AetherRegistries.java:296-299、:328-331):

系统 燃料 动力 来源
附魔 aether_legacy:ambrosium_shard 500 AetherRegistries.java:298
冷凝 BlocksAether.icestone 500 AetherRegistries.java:330

耗时计算

两台机器的实际耗时为:

this.ticksRequired = this.currentEnchantment.getTimeRequired();
this.ticksRequired = AetherHooks.onSetEnchantmentTime(this, this.currentEnchantment, this.ticksRequired);
...
this.ticksRequired += (levels * 1250);

(TileEntityEnchanter.java:140-143、:159;TileEntityFreezer.java:139-142、:158 逻辑相同)

即 基础耗时 + 等级 × 1250 tick,且可被 AetherHooks 改写(为附属模组预留的 API 钩子)。

数值

数值名 值 来源
附魔条目总数 86 AetherRegistries.java:96-294
冷凝条目总数 12 AetherRegistries.java:302-325
附魔燃料动力 500 AetherRegistries.java:298
冷凝燃料动力 500 AetherRegistries.java:330
每级附魔额外耗时 +1250 tick TileEntityEnchanter.java:159
最短附魔 225 tick(天根木工具) AetherRegistries.java:97
最长附魔 13000 tick(重力晶护甲) AetherRegistries.java:142-148
最短冷凝 100 tick(境云) AetherRegistries.java:303
最长冷凝 2500 tick(唱片/戒指/吊坠) AetherRegistries.java:311
铁剑附魔耗时 550(同为铁的其余 4 件为 2250) AetherRegistries.java:237

交互

方块 槽 0 槽 1 槽 2 GUI ID
祭坛 enchanter 待附魔物品 神能晶片 产物输出 2
冰冻器 freezer 待冷凝物品 冰石 产物输出 3

槽 2 只接受与当前配方产物一致的物品(TileEntityEnchanter.java:126-130),因此可以预放物品实现自动化。

相关条目