Bugfixes and Modularization

Fixed several crashes due to ThermalExpansion splitting into Thermal
Foundation.
Also added config options to disable modinteraction with other mods.
This commit is contained in:
Arkandos committed 2014-08-11 14:09:15 +02:00
1 parent 2b0b729ad0
commit 580f1f4e12
15 files changed
+185 -65

No files matched your search

+3 -24
View File
@@ -43,14 +43,7 @@ public class MagicBees
FMLCommonHandler.instance().bus().register(modConfig);
// Compatibility Helpers setup time.
ForestryHelper.preInit();
ExtraBeesHelper.preInit();
ThaumcraftHelper.preInit();
EquivalentExchangeHelper.preInit();
ArsMagicaHelper.preInit();
ThermalExpansionHelper.preInit();
RedstoneArsenalHelper.preInit();
BloodMagicHelper.preInit();
ModHelper.preInit();
this.modConfig.setupBlocks();
this.modConfig.setupItems();
@@ -64,14 +57,7 @@ public class MagicBees
@Mod.EventHandler
public void init(FMLInitializationEvent event)
{
ForestryHelper.init();
ExtraBeesHelper.init();
ThaumcraftHelper.init();
EquivalentExchangeHelper.init();
ArsMagicaHelper.init();
ThermalExpansionHelper.init();
RedstoneArsenalHelper.init();
BloodMagicHelper.init();
ModHelper.init();
worldHandler = new WorldGeneratorHandler();
GameRegistry.registerWorldGenerator(worldHandler, 0);
@@ -82,14 +68,7 @@ public class MagicBees
@Mod.EventHandler
public void postInit(FMLPostInitializationEvent event)
{
ForestryHelper.postInit();
ExtraBeesHelper.postInit();
ThaumcraftHelper.postInit();
EquivalentExchangeHelper.postInit();
ArsMagicaHelper.postInit();
ThermalExpansionHelper.postInit();
RedstoneArsenalHelper.postInit();
BloodMagicHelper.postInit();
ModHelper.postInit();
this.guiHandler = new GUIHandler();
NetworkRegistry.INSTANCE.registerGuiHandler(this, this.guiHandler);