2013-05-03 13:00:44 +00:00
|
|
|
package biomesoplenty;
|
|
|
|
|
|
|
|
import net.minecraft.creativetab.CreativeTabs;
|
2013-12-11 23:31:42 +00:00
|
|
|
import biomesoplenty.configuration.BOPConfiguration;
|
|
|
|
import biomesoplenty.core.BOPBlocks;
|
2013-12-24 01:21:58 +00:00
|
|
|
import biomesoplenty.core.BOPEntities;
|
2013-12-11 23:31:42 +00:00
|
|
|
import biomesoplenty.core.BOPItems;
|
2013-05-03 13:00:44 +00:00
|
|
|
import biomesoplenty.helpers.CreativeTabsBOP;
|
|
|
|
import cpw.mods.fml.common.Mod;
|
2013-07-02 03:57:49 +00:00
|
|
|
import cpw.mods.fml.common.Mod.EventHandler;
|
2013-05-03 13:00:44 +00:00
|
|
|
import cpw.mods.fml.common.Mod.Instance;
|
|
|
|
import cpw.mods.fml.common.SidedProxy;
|
|
|
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
|
|
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
|
|
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
|
|
|
|
2013-12-11 23:31:42 +00:00
|
|
|
@Mod(modid="BiomesOPlenty", name="Biomes O' Plenty", dependencies="after:Natura; required-after:Forge@[1.42.666.42.1,)")
|
2013-05-03 13:00:44 +00:00
|
|
|
public class BiomesOPlenty
|
2013-05-31 10:34:02 +00:00
|
|
|
{
|
2013-05-03 13:00:44 +00:00
|
|
|
@Instance("BiomesOPlenty")
|
|
|
|
public static BiomesOPlenty instance;
|
|
|
|
|
|
|
|
@SidedProxy(clientSide="biomesoplenty.ClientProxy", serverSide="biomesoplenty.CommonProxy")
|
|
|
|
public static CommonProxy proxy;
|
|
|
|
|
|
|
|
public static CreativeTabs tabBiomesOPlenty;
|
2013-08-03 00:07:43 +00:00
|
|
|
public static String configPath;
|
2013-05-03 13:00:44 +00:00
|
|
|
|
2013-07-02 07:43:39 +00:00
|
|
|
@EventHandler
|
2013-05-03 13:00:44 +00:00
|
|
|
public void preInit(FMLPreInitializationEvent event)
|
|
|
|
{
|
2013-08-03 00:07:43 +00:00
|
|
|
configPath = event.getModConfigurationDirectory() + "/biomesoplenty/";
|
|
|
|
BOPConfiguration.init(configPath);
|
2013-06-14 13:17:48 +00:00
|
|
|
|
2013-12-23 11:21:39 +00:00
|
|
|
//Version.check();
|
2013-05-31 10:34:02 +00:00
|
|
|
|
2013-12-24 00:01:55 +00:00
|
|
|
tabBiomesOPlenty = new CreativeTabsBOP(CreativeTabs.getNextID(), "tabBiomesOPlenty");
|
2013-05-31 10:34:02 +00:00
|
|
|
|
2013-05-03 13:00:44 +00:00
|
|
|
BOPBlocks.init();
|
|
|
|
BOPItems.init();
|
2013-12-24 01:21:58 +00:00
|
|
|
BOPEntities.init();
|
|
|
|
|
|
|
|
proxy.registerEventHandlers();
|
|
|
|
proxy.registerRenderers();
|
2013-05-03 13:00:44 +00:00
|
|
|
}
|
|
|
|
|
2013-07-02 07:43:39 +00:00
|
|
|
@EventHandler
|
2013-05-03 13:00:44 +00:00
|
|
|
public void load(FMLInitializationEvent event)
|
|
|
|
{
|
|
|
|
}
|
2013-05-06 07:11:55 +00:00
|
|
|
|
2013-07-02 07:43:39 +00:00
|
|
|
@EventHandler
|
2013-05-03 13:00:44 +00:00
|
|
|
public void postInit(FMLPostInitializationEvent event)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|