// 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/network/MessageOpenNemesisGuiRequest.java
// public class MessageOpenNemesisGuiRequest implements IMessage {
// 
// 	public static void init(int packetId) {
// 		NemesisSystem.NETWORK.registerMessage(MessageOpenNemesisGuiRequest.Handler.class, MessageOpenNemesisGuiRequest.class, packetId, Side.SERVER);
// 	}
// 
// 	public MessageOpenNemesisGuiRequest() {
// 
// 	}
// 
// 	@Override
// 	public void fromBytes(ByteBuf buf) {
// 
// 	}
// 
// 	@Override
// 	public void toBytes(ByteBuf buf) {
// 
// 	}
// 
// 	public static class Handler implements IMessageHandler<MessageOpenNemesisGuiRequest, IMessage> {
// 		@Override
// 		public IMessage onMessage(final MessageOpenNemesisGuiRequest message, MessageContext ctx) {
// 			final EntityPlayerMP player = ctx.getServerHandler().player;
// 			player.getServerWorld().addScheduledTask(() -> sendResponse(player));
// 			return null;
// 		}
// 
// 		private static void sendResponse(EntityPlayerMP player) {
// 			NemesisSystem.NETWORK.sendTo(new MessageOpenNemesisGui(player), player);
// 		}
// 	}
// 
// }
// 
// Path: src/main/java/net/torocraft/nemesissystem/proxy/ClientProxy.java
// public class ClientProxy extends CommonProxy {
// 	public static KeyBinding[] keyBindings;
// 
// 	@Override
// 	public void preInit(FMLPreInitializationEvent e) {
// 		super.preInit(e);
// 		keyBindings = new KeyBinding[1];
// 		keyBindings[0] = new KeyBinding("key.open_gui", 37, "key.categories.misc");
// 		ClientRegistry.registerKeyBinding(keyBindings[0]);
// 		Entities.registerRenders();
// 	}
// 
// 	@Override
// 	public void init(FMLInitializationEvent e) {
// 		NemesisSystemGuiHandler.init();
// 		InputHandler.init();
// 		super.init(e);
// 	}
// 
// 	@Override
// 	public void openGui(int modGuiId) {
// 		EntityPlayer player = Minecraft.getMinecraft().player;
// 		player.openGui(NemesisSystem.INSTANCE, modGuiId, player.world, (int) player.posX, (int) player.posY, (int) player.posZ);
// 	}
// 
// 	@Override
// 	public EntityPlayer getPlayer() {
// 		return Minecraft.getMinecraft().player;
// 	}
// 
// }


import net.minecraft.client.settings.KeyBinding;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.InputEvent.KeyInputEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.torocraft.nemesissystem.NemesisSystem;
import net.torocraft.nemesissystem.network.MessageOpenNemesisGuiRequest;
import net.torocraft.nemesissystem.proxy.ClientProxy;
package net.torocraft.nemesissystem.handlers;


@SideOnly(Side.CLIENT)
public class InputHandler {

	public static void init() {
// 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/network/MessageOpenNemesisGuiRequest.java
// public class MessageOpenNemesisGuiRequest implements IMessage {
// 
// 	public static void init(int packetId) {
// 		NemesisSystem.NETWORK.registerMessage(MessageOpenNemesisGuiRequest.Handler.class, MessageOpenNemesisGuiRequest.class, packetId, Side.SERVER);
// 	}
// 
// 	public MessageOpenNemesisGuiRequest() {
// 
// 	}
// 
// 	@Override
// 	public void fromBytes(ByteBuf buf) {
// 
// 	}
// 
// 	@Override
// 	public void toBytes(ByteBuf buf) {
// 
// 	}
// 
// 	public static class Handler implements IMessageHandler<MessageOpenNemesisGuiRequest, IMessage> {
// 		@Override
// 		public IMessage onMessage(final MessageOpenNemesisGuiRequest message, MessageContext ctx) {
// 			final EntityPlayerMP player = ctx.getServerHandler().player;
// 			player.getServerWorld().addScheduledTask(() -> sendResponse(player));
// 			return null;
// 		}
// 
// 		private static void sendResponse(EntityPlayerMP player) {
// 			NemesisSystem.NETWORK.sendTo(new MessageOpenNemesisGui(player), player);
// 		}
// 	}
// 
// }
// 
// Path: src/main/java/net/torocraft/nemesissystem/proxy/ClientProxy.java
// public class ClientProxy extends CommonProxy {
// 	public static KeyBinding[] keyBindings;
// 
// 	@Override
// 	public void preInit(FMLPreInitializationEvent e) {
// 		super.preInit(e);
// 		keyBindings = new KeyBinding[1];
// 		keyBindings[0] = new KeyBinding("key.open_gui", 37, "key.categories.misc");
// 		ClientRegistry.registerKeyBinding(keyBindings[0]);
// 		Entities.registerRenders();
// 	}
// 
// 	@Override
// 	public void init(FMLInitializationEvent e) {
// 		NemesisSystemGuiHandler.init();
// 		InputHandler.init();
// 		super.init(e);
// 	}
// 
// 	@Override
// 	public void openGui(int modGuiId) {
// 		EntityPlayer player = Minecraft.getMinecraft().player;
// 		player.openGui(NemesisSystem.INSTANCE, modGuiId, player.world, (int) player.posX, (int) player.posY, (int) player.posZ);
// 	}
// 
// 	@Override
// 	public EntityPlayer getPlayer() {
// 		return Minecraft.getMinecraft().player;
// 	}
// 
// }


// Path: src/main/java/net/torocraft/nemesissystem/handlers/InputHandler.java
import net.minecraft.client.settings.KeyBinding;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.eventhandler.EventPriority;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.InputEvent.KeyInputEvent;
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.torocraft.nemesissystem.NemesisSystem;
import net.torocraft.nemesissystem.network.MessageOpenNemesisGuiRequest;
import net.torocraft.nemesissystem.proxy.ClientProxy;

package net.torocraft.nemesissystem.handlers;


@SideOnly(Side.CLIENT)
public class InputHandler {

	public static void init() {
		MinecraftForge.EVENT_BUS.register(new InputHandler());