// Path: src/main/java/net/torocraft/nemesissystem/NemesisSystem.java
// @Mod(modid = NemesisSystem.MODID, version = NemesisSystem.VERSION, name = NemesisSystem.MODNAME)
// public class NemesisSystem {
// 
// 	public static final String MODID = "nemesissystem";
// 	public static final String VERSION = "1.12.1-2";
// 	public static final String MODNAME = "NemesisSystem";
// 
// 	public static final String NBT_NEMESIS_ID = "torocraft_nemesis_id";
// 	public static final String TAG_NEMESIS = "torocraft_nemesis";
// 	public static final String TAG_BODY_GUARD = "nemesis_body_guard";
// 	public static final String TAG_SPAWNING = "nemesis_is_spawning";
// 	public static final String TAG_BUFFED_MOB = "nemesis_buffed_mob";
// 	public static final int MIN_TOROTRAIT_VERSION = 1;
// 	public static final int COMPAT_VERSION = 1;
// 	public static final String TAG_BUFF_MOB_REINFORCEMENT = "nemesis_buffed_mob_reinforcement";
// 	//public static final String TAG_SUMMONED_MOB = "nemesis_summoned_mob";
// 
// 	@Mod.Instance(MODID)
// 	public static NemesisSystem INSTANCE;
// 
// 	public static MinecraftServer SERVER;
// 
// 	public static SimpleNetworkWrapper NETWORK = NetworkRegistry.INSTANCE.newSimpleChannel(MODID);
// 
// 	@SidedProxy(clientSide = "net.torocraft.nemesissystem.proxy.ClientProxy", serverSide = "net.torocraft.nemesissystem.proxy.ServerProxy")
// 	public static CommonProxy PROXY;
// 
// 	@SideOnly(Side.CLIENT)
// 	public static List<NemesisEntry> NEMESES;
// 
// 	@SideOnly(Side.CLIENT)
// 	public static PlayerKnowledgeBase KNOWLEDGE_BASE;
// 
// 	@SideOnly(Side.CLIENT)
// 	public static NemesisEntry NEMESIS;
// 
// 	@SideOnly(Side.CLIENT)
// 	public static NemesisKnowledge KNOWLEDGE;
// 
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent e) {
// 		PROXY.preInit(e);
// 	}
// 
// 	@EventHandler
// 	public void init(FMLInitializationEvent e) {
// 		PROXY.init(e);
// 	}
// 
// 	@EventHandler
// 	public void postInit(FMLPostInitializationEvent e) {
// 		PROXY.postInit(e);
// 	}
// 
// 	@EventHandler
// 	public void serverLoad(FMLServerStartingEvent e) {
// 		SERVER = e.getServer();
// 		e.registerServerCommand(new NemesisSystemCommand());
// 	}
// 
// }
// 
// Path: src/main/java/net/torocraft/nemesissystem/entities/Entities.java
// public class Entities {
// 
// 	public static void init() {
// 		int entityId = 0;
// 		EntityZombieNemesis.init(entityId++);
// 		EntityPigZombieNemesis.init(entityId++);
// 		EntityZombieVillagerNemesis.init(entityId++);
// 		EntityHuskNemesis.init(entityId++);
// 		EntitySkeletonNemesis.init(entityId++);
// 		EntityStrayNemesis.init(entityId++);
// 	}
// 
// 	public static void registerRenders() {
// 		RenderZombieNemesis.init();
// 		RenderPigZombieNemesis.init();
// 		RenderZombieVillagerNemesis.init();
// 		RenderHuskNemesis.init();
// 		RenderSkeletonNemesis.init();
// 		RenderStrayNemesis.init();
// 	}
// }
// 
// Path: src/main/java/net/torocraft/nemesissystem/gui/NemesisSystemGuiHandler.java
// public class NemesisSystemGuiHandler implements IGuiHandler {
// 	public static final int NEMESIS_LIST_GUI = 0;
// 	public static final int NEMESIS_DETAILS_GUI = 1;
// 
// 	public static void init() {
// 		NetworkRegistry.INSTANCE.registerGuiHandler(NemesisSystem.INSTANCE, new NemesisSystemGuiHandler());
// 	}
// 
// 	@Override
// 	public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
// 		return null;
// 	}
// 
// 	@Override
// 	public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
// 		if (ID == NEMESIS_LIST_GUI)  return new GuiNemesis();
// 		if (ID == NEMESIS_DETAILS_GUI)  return new GuiNemesisDetails();
// 		return null;
// 	}
// }
// 
// Path: src/main/java/net/torocraft/nemesissystem/handlers/InputHandler.java
// @SideOnly(Side.CLIENT)
// public class InputHandler {
// 
// 	public static void init() {
// 		MinecraftForge.EVENT_BUS.register(new InputHandler());
// 	}
// 
// 	@SubscribeEvent(priority = EventPriority.NORMAL, receiveCanceled = true)
// 	public void onEvent(KeyInputEvent event) {
// 		KeyBinding[] keyBindings = ClientProxy.keyBindings;
// 		if (keyBindings[0].isPressed()) {
// 			// TODO convert this to a toggle so that it opens and closes the gui
// 			NemesisSystem.NETWORK.sendToServer(new MessageOpenNemesisGuiRequest());
// 		}
// 	}
// }


import net.minecraft.client.Minecraft;
import net.minecraft.client.settings.KeyBinding;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.EnumParticleTypes;
import net.minecraftforge.fml.client.registry.ClientRegistry;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.torocraft.nemesissystem.NemesisSystem;
import net.torocraft.nemesissystem.entities.Entities;
import net.torocraft.nemesissystem.gui.NemesisSystemGuiHandler;
import net.torocraft.nemesissystem.handlers.InputHandler;
package net.torocraft.nemesissystem.proxy;


public class ClientProxy extends CommonProxy {
	public static KeyBinding[] keyBindings;

// Path: src/main/java/net/torocraft/nemesissystem/NemesisSystem.java
// @Mod(modid = NemesisSystem.MODID, version = NemesisSystem.VERSION, name = NemesisSystem.MODNAME)
// public class NemesisSystem {
// 
// 	public static final String MODID = "nemesissystem";
// 	public static final String VERSION = "1.12.1-2";
// 	public static final String MODNAME = "NemesisSystem";
// 
// 	public static final String NBT_NEMESIS_ID = "torocraft_nemesis_id";
// 	public static final String TAG_NEMESIS = "torocraft_nemesis";
// 	public static final String TAG_BODY_GUARD = "nemesis_body_guard";
// 	public static final String TAG_SPAWNING = "nemesis_is_spawning";
// 	public static final String TAG_BUFFED_MOB = "nemesis_buffed_mob";
// 	public static final int MIN_TOROTRAIT_VERSION = 1;
// 	public static final int COMPAT_VERSION = 1;
// 	public static final String TAG_BUFF_MOB_REINFORCEMENT = "nemesis_buffed_mob_reinforcement";
// 	//public static final String TAG_SUMMONED_MOB = "nemesis_summoned_mob";
// 
// 	@Mod.Instance(MODID)
// 	public static NemesisSystem INSTANCE;
// 
// 	public static MinecraftServer SERVER;
// 
// 	public static SimpleNetworkWrapper NETWORK = NetworkRegistry.INSTANCE.newSimpleChannel(MODID);
// 
// 	@SidedProxy(clientSide = "net.torocraft.nemesissystem.proxy.ClientProxy", serverSide = "net.torocraft.nemesissystem.proxy.ServerProxy")
// 	public static CommonProxy PROXY;
// 
// 	@SideOnly(Side.CLIENT)
// 	public static List<NemesisEntry> NEMESES;
// 
// 	@SideOnly(Side.CLIENT)
// 	public static PlayerKnowledgeBase KNOWLEDGE_BASE;
// 
// 	@SideOnly(Side.CLIENT)
// 	public static NemesisEntry NEMESIS;
// 
// 	@SideOnly(Side.CLIENT)
// 	public static NemesisKnowledge KNOWLEDGE;
// 
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent e) {
// 		PROXY.preInit(e);
// 	}
// 
// 	@EventHandler
// 	public void init(FMLInitializationEvent e) {
// 		PROXY.init(e);
// 	}
// 
// 	@EventHandler
// 	public void postInit(FMLPostInitializationEvent e) {
// 		PROXY.postInit(e);
// 	}
// 
// 	@EventHandler
// 	public void serverLoad(FMLServerStartingEvent e) {
// 		SERVER = e.getServer();
// 		e.registerServerCommand(new NemesisSystemCommand());
// 	}
// 
// }
// 
// Path: src/main/java/net/torocraft/nemesissystem/entities/Entities.java
// public class Entities {
// 
// 	public static void init() {
// 		int entityId = 0;
// 		EntityZombieNemesis.init(entityId++);
// 		EntityPigZombieNemesis.init(entityId++);
// 		EntityZombieVillagerNemesis.init(entityId++);
// 		EntityHuskNemesis.init(entityId++);
// 		EntitySkeletonNemesis.init(entityId++);
// 		EntityStrayNemesis.init(entityId++);
// 	}
// 
// 	public static void registerRenders() {
// 		RenderZombieNemesis.init();
// 		RenderPigZombieNemesis.init();
// 		RenderZombieVillagerNemesis.init();
// 		RenderHuskNemesis.init();
// 		RenderSkeletonNemesis.init();
// 		RenderStrayNemesis.init();
// 	}
// }
// 
// Path: src/main/java/net/torocraft/nemesissystem/gui/NemesisSystemGuiHandler.java
// public class NemesisSystemGuiHandler implements IGuiHandler {
// 	public static final int NEMESIS_LIST_GUI = 0;
// 	public static final int NEMESIS_DETAILS_GUI = 1;
// 
// 	public static void init() {
// 		NetworkRegistry.INSTANCE.registerGuiHandler(NemesisSystem.INSTANCE, new NemesisSystemGuiHandler());
// 	}
// 
// 	@Override
// 	public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
// 		return null;
// 	}
// 
// 	@Override
// 	public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
// 		if (ID == NEMESIS_LIST_GUI)  return new GuiNemesis();
// 		if (ID == NEMESIS_DETAILS_GUI)  return new GuiNemesisDetails();
// 		return null;
// 	}
// }
// 
// Path: src/main/java/net/torocraft/nemesissystem/handlers/InputHandler.java
// @SideOnly(Side.CLIENT)
// public class InputHandler {
// 
// 	public static void init() {
// 		MinecraftForge.EVENT_BUS.register(new InputHandler());
// 	}
// 
// 	@SubscribeEvent(priority = EventPriority.NORMAL, receiveCanceled = true)
// 	public void onEvent(KeyInputEvent event) {
// 		KeyBinding[] keyBindings = ClientProxy.keyBindings;
// 		if (keyBindings[0].isPressed()) {
// 			// TODO convert this to a toggle so that it opens and closes the gui
// 			NemesisSystem.NETWORK.sendToServer(new MessageOpenNemesisGuiRequest());
// 		}
// 	}
// }


// Path: src/main/java/net/torocraft/nemesissystem/proxy/ClientProxy.java
import net.minecraft.client.Minecraft;
import net.minecraft.client.settings.KeyBinding;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.EnumParticleTypes;
import net.minecraftforge.fml.client.registry.ClientRegistry;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.torocraft.nemesissystem.NemesisSystem;
import net.torocraft.nemesissystem.entities.Entities;
import net.torocraft.nemesissystem.gui.NemesisSystemGuiHandler;
import net.torocraft.nemesissystem.handlers.InputHandler;

package net.torocraft.nemesissystem.proxy;


public class ClientProxy extends CommonProxy {
	public static KeyBinding[] keyBindings;

	@Override