mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Ported metallurgy ore doubling and cyclic integration stuff (#5358)
This commit is contained in:
1 parent
88a86cf276
commit
29951ae7ca
4 files changed
+173
-67
No files matched your search
@@ -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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user