2015-01-05 22:14:01 +01:00
|
|
|
package ellpeck.someprettytechystuff;
|
2014-11-10 16:47:04 +01:00
|
|
|
|
|
|
|
import cpw.mods.fml.common.Mod;
|
2014-12-18 19:24:06 +01:00
|
|
|
import cpw.mods.fml.common.Mod.EventHandler;
|
|
|
|
import cpw.mods.fml.common.Mod.Instance;
|
2014-12-03 21:55:53 +01:00
|
|
|
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;
|
2015-01-05 22:14:01 +01:00
|
|
|
import ellpeck.someprettytechystuff.blocks.InitBlocks;
|
|
|
|
import ellpeck.someprettytechystuff.crafting.InitCrafting;
|
|
|
|
import ellpeck.someprettytechystuff.gen.OreGen;
|
|
|
|
import ellpeck.someprettytechystuff.inventory.GuiHandler;
|
|
|
|
import ellpeck.someprettytechystuff.items.InitItems;
|
|
|
|
import ellpeck.someprettytechystuff.proxy.IProxy;
|
|
|
|
import ellpeck.someprettytechystuff.tile.TileEntityBase;
|
|
|
|
import ellpeck.someprettytechystuff.util.Util;
|
2014-11-10 16:47:04 +01:00
|
|
|
|
2014-12-18 19:24:06 +01:00
|
|
|
@Mod(modid = Util.MOD_ID, name = Util.NAME, version = Util.VERSION)
|
2015-01-05 22:50:20 +01:00
|
|
|
public class SPTS{
|
2014-11-10 16:47:04 +01:00
|
|
|
|
2014-12-18 19:24:06 +01:00
|
|
|
@Instance(Util.MOD_ID)
|
2015-01-05 22:50:20 +01:00
|
|
|
public static SPTS instance;
|
2014-11-10 16:47:04 +01:00
|
|
|
|
2015-01-05 22:14:01 +01:00
|
|
|
@SidedProxy(clientSide = "ellpeck.someprettytechystuff.proxy.ClientProxy", serverSide = "ellpeck.someprettytechystuff.proxy.ServerProxy")
|
2014-12-03 21:55:53 +01:00
|
|
|
public static IProxy proxy;
|
|
|
|
|
2014-11-10 16:47:04 +01:00
|
|
|
@SuppressWarnings("unused")
|
|
|
|
@EventHandler()
|
|
|
|
public void preInit(FMLPreInitializationEvent event){
|
|
|
|
InitBlocks.init();
|
|
|
|
InitItems.init();
|
2014-12-03 21:55:53 +01:00
|
|
|
proxy.preInit();
|
2014-11-10 16:47:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@SuppressWarnings("unused")
|
|
|
|
@EventHandler()
|
|
|
|
public void init(FMLInitializationEvent event){
|
2014-12-20 21:34:07 +01:00
|
|
|
InitCrafting.init();
|
2014-12-18 19:24:06 +01:00
|
|
|
GuiHandler.init();
|
|
|
|
OreGen.init();
|
|
|
|
TileEntityBase.init();
|
2014-12-20 21:34:07 +01:00
|
|
|
proxy.init();
|
2014-11-10 16:47:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
@SuppressWarnings("unused")
|
|
|
|
@EventHandler()
|
|
|
|
public void postInit(FMLPostInitializationEvent event){
|
2014-12-03 21:55:53 +01:00
|
|
|
proxy.postInit();
|
2014-11-10 16:47:04 +01:00
|
|
|
}
|
|
|
|
}
|