package net.darkhax.darkutils;

import net.darkhax.darkutils.addons.AddonHandler;
import net.darkhax.darkutils.common.ProxyCommon;
import net.darkhax.darkutils.creativetab.CreativeTabDarkUtils;
import net.darkhax.darkutils.handler.ContentHandler;
import net.darkhax.darkutils.handler.ForgeEventHandler;
import net.darkhax.darkutils.libs.Constants;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.Mod.EventHandler;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;

@Mod(modid = Constants.MOD_ID, name = Constants.MOD_NAME, version = Constants.VERSION_NUMBER, acceptedMinecraftVersions = Constants.MCVERSION)
public class DarkUtils {
    
    @SidedProxy(clientSide = Constants.CLIENT_PROXY_CLASS, serverSide = Constants.SERVER_PROXY_CLASS)
    public static ProxyCommon proxy;
    
    @Mod.Instance(Constants.MOD_ID)
    public static DarkUtils instance;
    
    public static CreativeTabs tab = new CreativeTabDarkUtils();
    
    @EventHandler
    public void preInit (FMLPreInitializationEvent event) {
        
        ContentHandler.initBlocks();
        ContentHandler.initItems();
        ContentHandler.initMisc();
        ContentHandler.initRecipes();
        proxy.onPreInit();
        MinecraftForge.EVENT_BUS.register(new ForgeEventHandler());
        AddonHandler.preInit();
    }
}
@@ -70,32 +70,106 @@
 .AddonHandler;%0D%0A
+import net.darkhax.darkutils.addons.thaumcraft.DarkUtilsThaumcraftAddon;%0D%0A
 import net.darkh
@@ -198,24 +198,24 @@
 oxyCommon;%0D%0A
-
 import net.d
@@ -670,16 +670,88 @@
 Proxy;%0D%0A
+import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;%0D%0A
 import n
@@ -908,16 +908,55 @@
 _NUMBER,
+ dependencies = Constants.DEPENDENCIES,
  accepte
@@ -1664,24 +1664,24 @@
 andler());%0D%0A
-
         Addo
@@ -1708,9 +1708,148 @@
 %0A    %7D%0D%0A
+    %0D%0A    @EventHandler%0D%0A    public void postInit (FMLPostInitializationEvent event) %7B%0D%0A        %0D%0A        AddonHandler.postInit();%0D%0A    %7D%0D%0A
 %7D

Set up postInit support for addons.