package nmd.primal.energy;

import nmd.primal.energy.common.CommonProxy;
import cpw.mods.fml.common.Mod;
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;

@Mod(modid = Main.MODID, version = Main.VERSION)
public class Main
{
    public static final String MODID = "energy";
    public static final String VERSION = "1.0";
    
    @SidedProxy(clientSide="nmd.primal.energy.client.ClientProxy", serverSide="nmd.primal.energy.common.CommonProxy")
    public static CommonProxy proxy;
    
    @Instance
    public static Main instance = new Main();
    
    @EventHandler
    public void preinit(FMLPreInitializationEvent event)
    {
    	Main.proxy.preInit(event);
		// some example code
        //System.out.println("DIRT BLOCK >> "+Blocks.dirt.getUnlocalizedName());
    }
    
    @EventHandler
    public void init(FMLInitializationEvent event)
    {
		// some example code
        //System.out.println("DIRT BLOCK >> "+Blocks.dirt.getUnlocalizedName());
    }
    
	@EventHandler
	public void postInit(FMLPostInitializationEvent e) {

		System.out.println("U want some Body Massage?");
		//RenderingRegistry.registerEntityRenderingHandler(EntityShit.class, new RenderSnowball(ModItems.itemShit));
	}
}
