NEI-Integration

[!INFO] Git Commit: dda5dad | Updated: 2026-04-26

NEI-Integration(modid: neiintegration)是一个纯客户端的 NEI 插件,为 6 个本身不提供 NEI handler 的 mod 补上配方页与使用页,外加物品 tooltip 增强与 10 个 NEI 调试转储选项。

README 中作者自述其双重定位:

“NEI Integration is two things – a playground to try out new types of NEI handlers, and a place to put NEI handlers if I somehow can’t get them into the mods they were made for.”

模组概览

属性 值
modid neiintegration
显示名 NEIIntegration
@Mod 主类 tonius.neiintegration.NEIIntegration
包路径 tonius.neiintegration
版本 GRADLETOKEN_VERSION(构建期占位符,仓库内无真实值)
Minecraft 1.7.10
Forge 10.13.4.1614
远程版本 *(acceptableRemoteVersions)
侧别 仅客户端(preInit 首行 if (evt.getSide() != Side.CLIENT) return;)
内容总量 0 方块 / 0 物品 / 0 实体 / 0 维度 / 0 附魔 / 0 成就
配置文件 <configDir>/neiintegration.cfg
配置界面 Forge 标准 GuiConfig(guiFactory)
语言 5 个,含 zh_CN / es_ES / en_US / ru_RU / cs_CZ
Access Transformer META-INF/neiintegration_at.cfg
作者 tonius11,README 注明 “Forked and maintained by the GTNH Modpack”

内容规模

指标 数量
集成目标(IntegrationBase) 6
已注册 recipe handler 28(另有 4 个基类未注册,共 32 个 RecipeHandler*.java)
Tooltip handler 1(MCForgeTooltipHandler,6 类信息 × 3 种显示条件)
NEI 选项(dumper) 10(经 API.addOption)
静态配置项 20(默认全 false)
动态配置项 6(每集成一个,默认全 true,setRequiresMcRestart)

为谁提供了什么

目标 mod modid(实测) handler 数 收录情况
Minecraft / Forge ——(恒有效) 2 + 1 tooltip + 10 dumper 本体
HarvestCraft harvestcraft ≤6(条件注册) 已收录
Railcraft Railcraft 5 已收录
MineFactory Reloaded MineFactoryReloaded 10 未收录
Big Reactors BigReactors 1 未收录
Electrical Age Eln 4 未收录

与其它 NEI 插件的区别

本分类只收录 nei-integration。与 wiki 内已有分类的界线:

分类 收录情况 定位差异
neiaddons 已收录 另一个 NEI 插件,与本 mod 无继承关系
nei-recipe-panels 已收录 另一个 NEI 插件,与本 mod 无继承关系
neicustom ❌ 不存在于本 wiki brief 声称已建,实际 ls data/neicustom* 无结果

三者与本 mod 之间无源码继承、无共享代码。NEI-Integration 的独特之处在于它只针对第三方机器 mod(而非给 NEI 本身加功能),且是纯客户端的。

依赖

依赖 性质 收录情况
NotEnoughItems:2.8.93-GTNH implementation —— 唯一真实运行期依赖 未收录,见下
Applied-Energistics-2-Unofficial:rv3-beta-911 compileOnly,transitive = false 未收录,但源码零引用
Railcraft:9.17.26:api compileOnly,transitive = false 已收录
BuildCraft:7.1.57 compileOnly,transitive = false 未收录,但源码零引用
harvestcraft:1.3.11-GTNH compileOnly,transitive = false 已收录
cofh-core:2388751 compileOnly(CurseMaven) 未收录,有真实引用
minefactory-reloaded:2277486 compileOnly(CurseMaven) 未收录
electrical-age:2937618 compileOnly(deobfCurse(...)) 未收录
big-reactors:2282591 compileOnly(deobfCurse(...)) 未收录

关于 NotEnoughItems

⚠️ NotEnoughItems(NEI)本身未收录于本 wiki,本分类不代为复述其内容。 它是本 mod 唯一编译期+运行期都在的依赖——所有 API.registerRecipeHandler / API.addOption 都来自 codechicken.nei 包。

关于 CoFH Core

cofh-core 虽然是 compileOnly,但有真实引用:RecipeHandlerSludgeBoiler.java:16 与 RecipeHandlerLaserDrill.java:17 都 import 了 cofh.lib.util.WeightedRandomItemStack。由于它未被 shade 进 jar,运行时必须自行安装 CoFH Core,否则这两个 MFR handler 会加载失败。

关于 BuildCraft 与 AE2

⚠️ BuildCraft 与 Applied-Energistics-2-Unofficial 出现在 compileOnly 中,但 src/main 全目录零引用(grep -rni "buildcraft\|appeng\|ae2\|applied" 0 命中),Integrations.getIntegrations() 也不含对应集成。二者是未被使用的残留依赖。

已知状态

⚠️ 版本号在源码中是构建期占位符 GRADLETOKEN_VERSION,仓库内无真实值,本分类不编造版本数字。

另:mcmod.info 的描述 “NEI handlers for all of the mods” 与实际只覆盖 6 个目标 mod 不符;6 个集成的 isValid() 只判 modid 存在不判版本,详见 源码缺陷。

条目