public EQPacketHandler(String channel, FMLIndexedMessageToMessageCodec<T> codec) { this.channel = channel; this.codec = codec; channels = NetworkRegistry.INSTANCE.newChannel(channel, codec); handlers = Maps.newEnumMap(Side.class); }