ActuallyAdditions/src/main/java/ellpeck/someprettytechystuff/SPTS.java

52 lines
1.7 KiB
Java
Raw Normal View History

2015-01-05 22:14:01 +01:00
package ellpeck.someprettytechystuff;
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;
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-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-12-18 19:24:06 +01:00
@Instance(Util.MOD_ID)
2015-01-05 22:50:20 +01:00
public static SPTS instance;
2015-01-05 22:14:01 +01:00
@SidedProxy(clientSide = "ellpeck.someprettytechystuff.proxy.ClientProxy", serverSide = "ellpeck.someprettytechystuff.proxy.ServerProxy")
public static IProxy proxy;
@SuppressWarnings("unused")
@EventHandler()
public void preInit(FMLPreInitializationEvent event){
InitBlocks.init();
InitItems.init();
proxy.preInit();
}
@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();
}
@SuppressWarnings("unused")
@EventHandler()
public void postInit(FMLPostInitializationEvent event){
proxy.postInit();
}
}