package me.xtimpugz.lotraddons;

import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.network.NetworkRegistry;

/**
 * Created by Tim Verhaegen on 20/07/2016.
 */
public class ProxyCommon {





    @Mod.EventHandler
    public void onInit(FMLInitializationEvent e){
        /*
        REGISTERS ALL COMMON THINGS SO FOR BOTH SERVER AND CLIENT...
         */
        LOTRAddonsItems.registerRings();
        LOTRAddonsBlocks.registerBlocks();
        LOTRAddonsEntities.registerEntities();
        NetworkRegistry.INSTANCE.registerGuiHandler(LOTRAddons.lotrAddons, new GuiHandler());


    }
    @Mod.EventHandler
    public void onPreInit(FMLPreInitializationEvent e){

    }
    @Mod.EventHandler
    public void onPostInit(FMLPostInitializationEvent e){

    }
}