MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / preInit

Method preInit

common/buildcraft/robotics/BCRobotics.java:24–35  ·  view source on GitHub ↗
(FMLPreInitializationEvent evt)

Source from the content-addressed store, hash-verified

22 public static BCRobotics INSTANCE = null;
23
24 @Mod.EventHandler
25 public static void preInit(FMLPreInitializationEvent evt) {
26 RegistryHelper.useOtherModConfigFor(MODID, BCCore.MODID);
27
28 BCRoboticsItems.preInit();
29 BCRoboticsBlocks.preInit();
30
31 NetworkRegistry.INSTANCE.registerGuiHandler(INSTANCE, RoboticsProxy_BC8.getProxy());
32
33 BCMessageHandler.addMessageType(MessageZoneMapRequest.class, MessageZoneMapRequest.Handler.INSTANCE, Side.SERVER);
34 BCMessageHandler.addMessageType(MessageZoneMapResponse.class, MessageZoneMapResponse.Handler.INSTANCE, Side.CLIENT);
35 }
36
37 @Mod.EventHandler
38 public static void init(FMLInitializationEvent evt) {

Callers

nothing calls this directly

Calls 5

useOtherModConfigForMethod · 0.95
preInitMethod · 0.95
preInitMethod · 0.95
getProxyMethod · 0.95
addMessageTypeMethod · 0.95

Tested by

no test coverage detected