2013-09-11 14:20:15 +02:00
|
|
|
package com.pahimar.ee3;
|
|
|
|
|
|
|
|
import com.pahimar.ee3.block.ModBlocks;
|
2014-03-28 20:54:15 +01:00
|
|
|
import com.pahimar.ee3.handler.CraftingHandler;
|
|
|
|
import com.pahimar.ee3.handler.GuiHandler;
|
2013-09-11 14:20:15 +02:00
|
|
|
import com.pahimar.ee3.item.ModItems;
|
2013-12-21 23:16:55 +01:00
|
|
|
import com.pahimar.ee3.proxy.IProxy;
|
2014-03-28 20:54:15 +01:00
|
|
|
import com.pahimar.ee3.reference.EventHandlers;
|
|
|
|
import com.pahimar.ee3.reference.Reference;
|
|
|
|
import cpw.mods.fml.common.FMLCommonHandler;
|
2013-09-11 14:20:15 +02:00
|
|
|
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;
|
2013-12-16 02:26:42 +01:00
|
|
|
import cpw.mods.fml.common.event.*;
|
2013-09-11 14:20:15 +02:00
|
|
|
import cpw.mods.fml.common.event.FMLInterModComms.IMCEvent;
|
|
|
|
import cpw.mods.fml.common.network.NetworkRegistry;
|
2013-12-16 02:26:42 +01:00
|
|
|
import net.minecraftforge.common.MinecraftForge;
|
|
|
|
|
2014-03-28 20:54:15 +01:00
|
|
|
@Mod(modid = Reference.MOD_ID, name = Reference.MOD_NAME, certificateFingerprint = Reference.FINGERPRINT, version = "0.2")
|
2013-12-16 02:26:42 +01:00
|
|
|
public class EquivalentExchange3
|
|
|
|
{
|
2014-03-28 20:54:15 +01:00
|
|
|
@Instance
|
2013-09-11 14:20:15 +02:00
|
|
|
public static EquivalentExchange3 instance;
|
|
|
|
|
|
|
|
@SidedProxy(clientSide = Reference.CLIENT_PROXY_CLASS, serverSide = Reference.SERVER_PROXY_CLASS)
|
2013-12-21 23:16:55 +01:00
|
|
|
public static IProxy proxy;
|
2013-09-11 14:20:15 +02:00
|
|
|
|
|
|
|
@EventHandler
|
2013-12-16 02:26:42 +01:00
|
|
|
public void invalidFingerprint(FMLFingerprintViolationEvent event)
|
|
|
|
{
|
2014-03-28 20:54:15 +01:00
|
|
|
|
2013-09-11 14:20:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@EventHandler
|
2013-12-16 02:26:42 +01:00
|
|
|
public void serverStarting(FMLServerStartingEvent event)
|
|
|
|
{
|
2014-03-28 20:54:15 +01:00
|
|
|
|
2013-09-11 14:20:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@EventHandler
|
2013-12-16 02:26:42 +01:00
|
|
|
public void preInit(FMLPreInitializationEvent event)
|
|
|
|
{
|
2013-09-11 14:20:15 +02:00
|
|
|
// Initialize mod blocks
|
|
|
|
ModBlocks.init();
|
|
|
|
|
|
|
|
// Initialize mod items
|
|
|
|
ModItems.init();
|
|
|
|
}
|
|
|
|
|
|
|
|
@EventHandler
|
2013-12-17 21:56:56 +01:00
|
|
|
public void init(FMLInitializationEvent event)
|
2013-12-16 02:26:42 +01:00
|
|
|
{
|
2013-09-11 14:20:15 +02:00
|
|
|
// Register the GUI Handler
|
2014-03-28 02:34:47 +01:00
|
|
|
NetworkRegistry.INSTANCE.registerGuiHandler(instance, new GuiHandler());
|
2013-09-11 14:20:15 +02:00
|
|
|
|
2014-03-28 20:54:15 +01:00
|
|
|
// Register the Items Event Handler
|
|
|
|
FMLCommonHandler.instance().bus().register(EventHandlers.itemEventHandler);
|
|
|
|
MinecraftForge.EVENT_BUS.register(EventHandlers.itemEventHandler);
|
2013-09-11 14:20:15 +02:00
|
|
|
|
2013-12-28 01:54:31 +01:00
|
|
|
CraftingHandler.init();
|
2013-09-11 14:20:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@EventHandler
|
2013-12-17 21:56:56 +01:00
|
|
|
public void postInit(FMLPostInitializationEvent event)
|
2013-12-16 02:26:42 +01:00
|
|
|
{
|
2014-03-28 20:54:15 +01:00
|
|
|
|
2013-09-11 14:20:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@EventHandler
|
2013-12-16 02:26:42 +01:00
|
|
|
public void handleIMCMessages(IMCEvent event)
|
|
|
|
{
|
2014-03-28 20:54:15 +01:00
|
|
|
|
2013-09-11 14:20:15 +02:00
|
|
|
}
|
|
|
|
}
|