pipeGate

基本信息

属性 值
注册名 pipeGate
物品类 ItemGate
所属 modid **`BuildCraft
注册变量 pipeGate
源码 buildcraft/BuildCraftTransport.java
注册方式 BCRegistry.INSTANCE.registerItem(...),forced = false

由 BuildCraft|Transport 模块注册,注册变量 pipeGate,物品类 ItemGate。

⚠ BuildCraft|Silicon 缺席时本物品照常注册——Loader.isModLoaded("BuildCraft|Silicon") 只守在 setCreativeTab 那一步(BuildCraftTransport.java:449-451), 真正的 registerItem 在 :452 是无条件执行的。 即:没装 Silicon 时玩家拿不到门的创造标签,但物品本身仍在。

说明

BCRegistry.registerItem(core/BCRegistry.java:63-70)内部调用 GameRegistry.registerItem(item, name), 注册名取自 setUnlocalizedName 的实参——不是类名,也不是分类名。

相关条目