Applied Energistics 2 Unofficial

[!INFO] Git Commit: b50ef8d | Updated: 2026-10-02

Applied-Energistics-2-Unofficial(AE2 非官方移植版)是 GTNewHorizons 维护的 Minecraft 1.7.10 / Forge 10.13.4.1614 工业科技模组。本 wiki 严格限定 1.7.10。

属性 值
分类名 applied-energistics-2-unofficial(取自仓库名,不是 modid)
modid appliedenergistics2(全小写、无连字符、无下划线)
包名 / 资源域 appeng / appliedenergistics2(modid 与资源域一致)
构建系统 RetroFuturaGradle(GTNH convention 插件 com.gtnewhorizons.gtnhconvention)
语言 1637 个 .java(src/main/java 1608 + src/functionalTest 16 + src/test 13),0 Scala、0 Kotlin、0 Groovy
源码目录 /Users/evlos/a/mirror/Applied-Energistics-2-Unofficial/(分支 master)

⚠️ 分类名 ≠ modid ≠ 资源域前缀以外的任何东西。 目录名带 3 个连字符,modid 完全没有连字符。判断注册名时不要用目录名反推。

modid 核实(读源码,非推断)

证据 位置 值
@Mod 注解 appeng/core/AppEng.java:63-69 modid = AppEng.MOD_ID
真实 modid 常量 appeng/core/AppEng.java:72 appliedenergistics2
构建期字段 gradle.properties:10 modId = appliedenergistics2
mcmod.info src/main/resources/mcmod.info "modid":"${modId}" ← 纯占位符

mcmod.info 全是 ${modId} / ${modName} / ${modVersion} / ${minecraftVersion} 占位符, 本身不含任何真实 modid,必须以 AppEng.java:72 为准。@Mod 的 acceptedMinecraftVersions = "[1.7.10]"(AppEng.java:65)也直接锁定了版本。

第二个 modid(不属于发布 jar)

src/functionalTest/java/appeng/test/AppengTestMod.java:31-35 声明了 @Mod(modid = "appeng-tests")。这是 functionalTest 源集的开发期测试模组, 不随主 jar 发布,故不算入本分类的 modid 统计。

版本核实(5 项强制关卡全部通过)

# 检查项 结果
1 version_gate.py 判定 ok,version 1.7.10(证据 gradle.properties minecraftVersion = 1.7.10)
2 构建系统 RetroFuturaGradle / GTNH convention;无 Loom / NeoForge / NeoGradle / Fabric / Bukkit / Spigot 标记
3 当前分支 master,非历史事故分支 mc-1.12.2
4 资源布局 / 包根 包根全部为 appeng,无非 appeng 包;资源域 assets/appliedenergistics2;无跨版本代码混入
5 @Mod 与 modid appeng/core/AppEng.java:63,modid = appliedenergistics2(:72)

实际注册规模(源码实测,集合去重)

分母为注册真源集合的真实数量,取自 appeng/core/api/definitions/ 下 4 个 Api* 类 与 appeng/items/parts/PartType.java,不是 grep 调用点数。

维度 注册真源 真源数量 本 wiki 条目 覆盖率
方块 ApiBlocks.java 的 registerBlockDefinition(...) 调用点 35 35 100%
方块实体 ApiBlocks.java 的 registerTileDefinition(...) 调用点 42 42 100%
电缆部件 PartType 枚举常量(排除 InvalidType 哨兵) 44 44 100%
物品 ApiItems.java 57 + ApiParts.java 1 + ApiMaterials.java 1 59 59 100%

合计 180 个条目 / 180 个注册真源,4 个维度 100% 覆盖。

「条目数」≠「物品数」:cable-part 的 44 个部件共用一个物品 item.ItemMultiPart; 材料的全部变体共用一个物品 item.ItemMultiMaterial。详见这两个条目的说明。

注册机制(读源码确认,非数调用点)

全部注册经由 DefinitionConstructor(appeng/core/api/definitions/DefinitionConstructor.java):

registerItemDefinition / registerBlockDefinition / registerTileDefinition
        └─> handler.isFeatureAvailable() ? handlers.addFeatureHandler + features.addFeature
        └─> 落到 GameRegistry(4 个 feature handler)
Handler 注册名形式 源码
AEBlockFeatureHandler tile.<SimpleClassName> core/features/AEBlockFeatureHandler.java:54-61
AETileBlockFeatureHandler tile.<SimpleClassName> core/features/AETileBlockFeatureHandler.java:53-68
StairBlockFeatureHandler tile.<SimpleClassName> core/features/StairBlockFeatureHandler.java:58
SlabBlockFeatureHandler tile.<显式 name 形参> core/features/SlabBlockFeatureHandler.java:50-58
ItemFeatureHandler item.<SimpleClassName>[.subName] core/features/ItemFeatureHandler.java:55-73

命名规则的唯一真源是 core/features/FeatureNameExtractor.java:31-56(clazz.getSimpleName() + subName)。

完整条目索引(180)

以下逐条列出全部 180 个条目及其注册名。

方块(35)

方块实体(42)

电缆部件(44)

物品(59)

未覆盖部分(诚实清单)

以下源码面尚未成文,本 wiki 不声称覆盖:

范围 规模 说明
appeng/api 316 文件 对外 API 接口,未成条目
appeng/client 189 文件 GUI / 渲染 / 模型
appeng/container 118 文件 容器与槽位
appeng/integration 104 文件 IC2 / GT / Mekanism / Thermal / BuildCraft 等兼容层
appeng/util 99 文件 适配器与工具类
appeng/parts 85 文件 部件实现(仅 44 个 PartType 已成文)
appeng/me 79 文件 网络节点与服务
appeng/tile 66 文件 方块实体实现(仅注册表 42 条已成文)
appeng/items 67 文件 物品实现(仅注册表 59 条已成文)
appeng/helpers core 39 + 183 文件 内部工具与核心
appeng/services recipes 38 + 35 文件 服务与配方
appeng/crafting 24 文件 合成 CPU 逻辑
appeng/server worldgen entity 11 + 11 + 9 命令、世界生成、实体
其余包 135 文件 block 75 / capabilities 1 / debug 12 / facade 3 / fmp 5 / gametests 13 / hooks 10 / spatial 9 / transformer 7(appeng/helpers 已单列,不重复计入)

另有三处注册表级别的未成文对象:

  • AEFeature 特性开关枚举 100 个常量(core/features/AEFeature.java)——控制所有注册的可用性,未成条目 (102 是把 2 个构造器声明 AEFeature(String)/AEFeature(String, boolean) 数进去的陷阱值,见 feature/ae-feature)
  • MaterialType 材料枚举 70 个常量(items/materials/MaterialType.java)——ItemMultiMaterial 的变体来源, 其中 InvalidType 为哨兵,实际已注册变体 69 个(75 是把 5 个构造器声明数进去的陷阱值,见 materials/material-type)
  • 配方处理器(recipes/ 下 35 文件)、网络安全服务、空间 IO 服务、Facade 材质、升级模块(Upgrades)均未成条目

因此**「180/180 = 100%」仅指 4 个已选定维度的注册真源集合**, 不是对 1608 个主源文件的整体覆盖率。按文件数计,本 wiki 约覆盖 180 / 1608 ≈ 11%。

相关分类

  • ae2stuff — AE2 附属,modid ae2stuff,独立 modid,其内容不并入本分类
  • ae2fluidcraft-rework — AE2 流体合成扩展,modid ae2fc,把本分类的流体相关部件(P2P 流体隧道、平面等)接上流体原料
  • notenoughenergistics — 物品浏览器;本 mod 经 appeng/integration/modules/NEI.java(:101-107)以 IntegrationHelper.testClassExistence 探测 NEI API 后接入
  • gregtech — 本 mod 硬依赖 gtnhlib@[0.11.14,)(AppEng.java:89);PartType.P2PTunnelGT 带 IntegrationType.GT 门控,GT 不在时不注册 <!-- AUTO-INDEX:START -->

完整索引(自动生成)

本节由 tools/sync_catpage_index.py 从磁盘实际文件生成,共 413 个条目。 上面各节是人工撰写的概览;任何未在上面出现的条目都在这里。 重新生成:删掉本节两个 <!-- AUTO-INDEX --> 标记之间的内容后重跑脚本。

block/(35)

全部 35 个条目已在上文列出。

cable-part/(44)

全部 44 个条目已在上文列出。

feature/(101)

条目 条目 条目 条目
AEFeature.Achievements AEFeature.AdvancedLevelEmitter AEFeature.AdvancedNetworkTool AEFeature
AEFeature.AlphaPass AEFeature.AnnihilationPlane AEFeature.CertusQuartzTools AEFeature.CertusQuartzWorldGen
AEFeature.Channels AEFeature.ChargedStaff AEFeature.ChestLoot AEFeature.ChunkLoggerTrace
AEFeature.ColorApplicator AEFeature.Colorizer AEFeature.ComplexPatternLog AEFeature.Core
AEFeature.CraftingCPU AEFeature.CraftingLog AEFeature.CraftingTerminal AEFeature.Creative
AEFeature.DebugLogging AEFeature.DecorativeLights AEFeature.DecorativeQuartzBlocks AEFeature.DenseCables
AEFeature.DenseEnergyCells AEFeature.EnableDisassemblyCrafting AEFeature.EnableFacadeCrafting AEFeature.EntropyManipulator
AEFeature.ExportBus AEFeature.Facades AEFeature.Flour AEFeature.FormationPlane
AEFeature.GrindStone AEFeature.GrinderLogging AEFeature.IdentityAnnihilationPlane AEFeature.ImportBus
AEFeature.InWorldFluix AEFeature.InWorldPurification AEFeature.InWorldSingularity AEFeature.Inscriber
AEFeature.IntegrationLogging AEFeature.InterfaceTerminal AEFeature.IOPort AEFeature.LevelEmitter
AEFeature.LightDetector AEFeature.LogSecurityAudits AEFeature.Logging AEFeature.MassCannonBlockDamage
AEFeature.MatterCannon AEFeature.MEChest AEFeature.MEDrive AEFeature.MeteoriteCompass
AEFeature.MeteoriteWorldGen AEFeature.MolecularAssembler AEFeature.NetherQuartzTools AEFeature.NetworkTool
AEFeature.P2PTunnel AEFeature.P2PTunnelEU AEFeature.P2PTunnelGregtech AEFeature.P2PTunnelItems
AEFeature.P2PTunnelLight AEFeature.P2PTunnelLiquids AEFeature.P2PTunnelME AEFeature.P2PTunnelOpenComputers
AEFeature.P2PTunnelPressure AEFeature.P2PTunnelRedstone AEFeature.P2PTunnelRF AEFeature.P2PTunnelSound
AEFeature.PacketLogging AEFeature.PaintBalls AEFeature.PartConversionMonitor AEFeature.PartThroughputMonitor
AEFeature.Patterns AEFeature.PatternsOptimizer AEFeature.PortableCell AEFeature.PowerGen
AEFeature.PoweredTools AEFeature.QuantumNetworkBridge AEFeature.QuartzAxe AEFeature.QuartzHoe
AEFeature.QuartzKnife AEFeature.QuartzPickaxe AEFeature.QuartzSpade AEFeature.QuartzSword
AEFeature.QuartzWrench AEFeature.Security AEFeature.SkyStoneChests AEFeature.SpatialIO
AEFeature.SpawnPressesInMeteorites AEFeature.StorageBus AEFeature.StorageCells AEFeature.StorageMonitor
AEFeature.TinyTNT AEFeature.TinyTNTBlockDamage AEFeature.UnsupportedDeveloperTools AEFeature.UpdateLogging
AEFeature.VillagerTrading AEFeature.WebsiteRecipes AEFeature.WirelessAccessTerminal AEFeature.XtremeCraftingCPU
AEFeature.XtremeStorageCells

integration/(25)

条目 条目 条目 条目
integration/abstraction 兼容抽象接口(abstraction) integration/modules/BCHelpers(bc-helpers) BuildCraftBuilder 模块(appeng.integration.modules.BuildCraftBuilder) BuildCraftCore 模块(appeng.integration.modules.BuildCraftCore)
BuildCraftTransport 模块(appeng.integration.modules.BuildCraftTransport) Chisel 模块(appeng.integration.modules.Chisel) DSU 模块(appeng.integration.modules.DSU) FMP 模块(appeng.integration.modules.FMP)
integration/ 兼容层框架(framework) FZ 模块(appeng.integration.modules.FZ) GT 模块(appeng.integration.modules.GT) integration/modules/helpers 外部存储适配器(helpers)
IC2 模块(appeng.integration.modules.IC2) IGT(appeng.integration.abstraction.IGT) IIC2(appeng.integration.abstraction.IIC2) ImmibisMicroblocks 模块(appeng.integration.modules.ImmibisMicroblocks)
IntegrationNode(appeng.integration.IntegrationNode) IntegrationType(appeng.integration.IntegrationType) integration/modules 兼容模块实现(modules) NEI 模块(appeng.integration.modules.NEI)
integration/modules/NEIHelpers(nei-helpers) OpenComputers 模块(appeng.integration.modules.OpenComputers) PneumaticCraft 模块(appeng.integration.modules.PneumaticCraft) RF 模块(appeng.integration.modules.RF)
integration/modules/waila 数据提供者(waila)

item/(59)

全部 59 个条目已在上文列出。

materials/(71)

条目 条目 条目 条目
MaterialType.AdvCard MaterialType.AnnihilationCore MaterialType.BasicCard MaterialType.BlankPattern
MaterialType.CalcProcessor MaterialType.CalcProcessorPress MaterialType.CalcProcessorPrint MaterialType.CardAdvancedBlocking
MaterialType.CardCapacity MaterialType.CardCrafting MaterialType.CardDistribution MaterialType.CardFakeCrafting
MaterialType.CardFuzzy MaterialType.CardInverter MaterialType.CardLockCrafting MaterialType.CardOreFilter
MaterialType.CardPatternCapacity MaterialType.CardRedstone MaterialType.CardSpeed MaterialType.CardSticky
MaterialType.CardSuperSpeed MaterialType.CardSuperluminalSpeed MaterialType.CardVoidOverflow MaterialType.Cell1024kPart
MaterialType.Cell128SpatialPart MaterialType.Cell16SpatialPart MaterialType.Cell16384kPart MaterialType.Cell16kPart
MaterialType.Cell1kPart MaterialType.Cell2SpatialPart MaterialType.Cell256kPart MaterialType.Cell4096kPart
MaterialType.Cell4kPart MaterialType.Cell64kPart MaterialType.CertusQuartzCrystal MaterialType.CertusQuartzCrystalCharged
MaterialType.CertusQuartzDust MaterialType.EmptyAdvancedStorageCell MaterialType.EmptyStorageCell MaterialType.EnderDust
MaterialType.EngProcessor MaterialType.EngProcessorPress MaterialType.EngProcessorPrint MaterialType.Flour
MaterialType.FluixCrystal MaterialType.FluixDust MaterialType.FluixPearl MaterialType.FormationCore
MaterialType.GoldDust MaterialType.InvalidType MaterialType.IronDust MaterialType.IronNugget
MaterialType.LogicProcessor MaterialType.LogicProcessorPress MaterialType.LogicProcessorPrint MaterialType
MaterialType.MatterBall MaterialType.NamePress MaterialType.NetherQuartzDust MaterialType.PurifiedCertusQuartzCrystal
MaterialType.PurifiedFluixCrystal MaterialType.PurifiedNetherQuartzCrystal MaterialType.QESingularity MaterialType.Silicon
MaterialType.SiliconPress MaterialType.SiliconPrint MaterialType.Singularity MaterialType.SkyDust
MaterialType.Wireless MaterialType.WirelessBooster MaterialType.WoodenGear

me/(36)

条目 条目 条目 条目
AENetworkProxy(appeng.me.helpers.AENetworkProxy) CellInventory(appeng.me.storage.CellInventory) ChannelFinalizer(appeng.me.pathfinding.ChannelFinalizer) me/ 多方块集群(cluster)
ControllerValidator(appeng.me.pathfinding.ControllerValidator) CraftingCPUCluster(appeng.me.cluster.implementations.CraftingCPUCluster) CraftingGridCache(appeng.me.cache.CraftingGridCache) CraftingNetworkDiagnostics(appeng.me.diagnostics.CraftingNetworkDiagnostics)
me/ 加工诊断(diagnostics) me/ 能量阈值与观察(energy) EnergyGridCache(appeng.me.cache.EnergyGridCache) EnergyWatcher(appeng.me.energy.EnergyWatcher)
GenericInterestManager(appeng.me.helpers.GenericInterestManager) Grid(appeng.me.Grid) me/ 网格缓存子系统(grid-cache) GridConnection(appeng.me.GridConnection)
me/ 网格核心(grid-core) GridNode(appeng.me.GridNode) GridStorage(appeng.me.GridStorage) GridStorageCache(appeng.me.cache.GridStorageCache)
me/helpers 网格代理与通用工具(helpers) MBCalculator(appeng.me.cluster.MBCalculator) MEInventoryHandler(appeng.me.storage.MEInventoryHandler) MEMonitorIInventory(appeng.me.storage.MEMonitorIInventory)
NetworkEventBus(appeng.me.NetworkEventBus) NetworkInventoryHandler(appeng.me.storage.NetworkInventoryHandler) NetworkMonitor(appeng.me.cache.NetworkMonitor) P2PCache(appeng.me.cache.P2PCache)
PathGridCache(appeng.me.cache.PathGridCache) me/ 路径与通道分配(pathfinding) PathingCalculation(appeng.me.pathfinding.PathingCalculation) QuantumCluster(appeng.me.cluster.implementations.QuantumCluster)
SecurityCache(appeng.me.cache.SecurityCache) SpatialPylonCluster(appeng.me.cluster.implementations.SpatialPylonCluster) me/ 存储与库存处理(storage) StorageBusInventoryHandler(appeng.me.storage.StorageBusInventoryHandler)

tile/(42)

全部 42 个条目已在上文列出。

<!-- AUTO-INDEX:END -->