Ported metallurgy ore doubling and cyclic integration stuff (#5358)

This commit is contained in:
Richard Freimer authored and Dave Smith committed 2019-04-08 14:08:27 -06:00
1 parent 88a86cf276
commit 29951ae7ca
4 files changed
+173 -67

No files matched your search

+4 -17
View File
@@ -952,6 +952,8 @@ public class Mekanism {
.setTranslationKey("obsidian"));
Capabilities.registerCapabilities();
hooks.hookPreInit();
}
@EventHandler
@@ -994,22 +996,7 @@ public class Mekanism {
//Load this module
registerTileEntities();
//Integrate with Waila
FMLInterModComms.sendMessage(MekanismHooks.WAILA_MOD_ID, "register",
"mekanism.common.integration.WailaDataProvider.register");
//Register TOP handler
FMLInterModComms
.sendFunctionMessage("theoneprobe", "getTheOneProbe", "mekanism.common.integration.TOPProvider");
//Integrate with OpenComputers
if (Loader.isModLoaded(MekanismHooks.OPENCOMPUTERS_MOD_ID)) {
hooks.loadOCDrivers();
}
if (Loader.isModLoaded(MekanismHooks.APPLIED_ENERGISTICS_2_MOD_ID)) {
hooks.registerAE2P2P();
}
hooks.hookInit();
//Packet registrations
packetHandler.initialize();
@@ -1037,7 +1024,7 @@ public class Mekanism {
Recipe.ENERGIZED_SMELTER.put(recipe);
}
hooks.hook();
hooks.hookPostInit();
MinecraftForge.EVENT_BUS.post(new BoxBlacklistEvent());