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

Method preInit

common/buildcraft/lib/BCLib.java:44–59  ·  view source on GitHub ↗
(FMLPreInitializationEvent evt)

Source from the content-addressed store, hash-verified

42 public static BCLib INSTANCE;
43
44 @Mod.EventHandler
45 public static void preInit(FMLPreInitializationEvent evt) {
46 BuildcraftRecipeRegistry.assemblyRecipes = AssemblyRecipeRegistry.INSTANCE;
47 BuildcraftRecipeRegistry.integrationRecipes = IntegrationRecipeRegistry.INSTANCE;
48
49 BCModules.fmlPreInit();
50 BuildCraftAPI.fakePlayerProvider = FakePlayerUtil.INSTANCE;
51 BCLibProxy.getProxy().fmlPreInit();
52
53 BCLibItems.preInit();
54
55 BCMessageHandler.fmlPreInit();
56 NetworkRegistry.INSTANCE.registerGuiHandler(INSTANCE, BCLibProxy.getProxy());
57
58 MinecraftForge.EVENT_BUS.register(BCLibEventDist.INSTANCE);
59 }
60
61 @Mod.EventHandler
62 public static void init(FMLInitializationEvent evt) {

Callers

nothing calls this directly

Calls 5

fmlPreInitMethod · 0.95
fmlPreInitMethod · 0.95
getProxyMethod · 0.95
preInitMethod · 0.95
registerMethod · 0.45

Tested by

no test coverage detected