package com.zivilon.cindercore.mixins;

import cpw.mods.fml.common.network.NetworkRegistry;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.Redirect;
import org.spongepowered.asm.mixin.Overwrite;
import org.spongepowered.asm.mixin.injection.callback.LocalCapture;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import cpw.mods.fml.common.FMLLog;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.common.network.internal.FMLNetworkHandler;
import cpw.mods.fml.common.network.FMLEmbeddedChannel;
import cpw.mods.fml.common.registry.GameData;
import cpw.mods.fml.common.registry.GameData.GameDataSnapshot;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.common.registry.EntityRegistry.EntityRegistration;
import cpw.mods.fml.common.network.internal.FMLMessage;

import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.network.Packet;

import java.util.Collection;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.Map;
import java.util.UUID;
import java.util.EnumMap;

import org.apache.logging.log4j.Logger;

import com.google.common.collect.BiMap;

import com.zivilon.cindercore.interfaces.IFMLNetworkHandlerMixin;
import com.zivilon.cindercore.CinderCore;
import com.zivilon.cindercore.mixins.MixinEntityRegistry;
import com.zivilon.cindercore.mixins.EntityRegistryAccessor;

@Mixin(FMLNetworkHandler.class)
public class MixinFMLNetworkHandler implements IFMLNetworkHandlerMixin {
    private EntityPlayerMP capturedPlayer;

    @Shadow private static EnumMap<Side, FMLEmbeddedChannel> channelPair;
}
