// Path: src/main/java/net/nickac/lithium/frontend/mod/LithiumMod.java
// @SuppressWarnings("WeakerAccess")
// @Mod(modid = LithiumMod.MODID, version = LithiumMod.VERSION, clientSideOnly = true, canBeDeactivated = true)
// public class LithiumMod {
// 	public static final String MODID = "lithium";
// 	public static final String CHANNELNAME = "Lithium";
// 	public static final String VERSION = "1.2-BETA";
// 
// 	private static LithiumWindowManager windowManager = new LithiumWindowManager();
// 	private static NewLithiumGUI currentLithium;
// 	private static LOverlay currentLithiumOverlay;
// 	private static SimpleNetworkWrapper network;
// 	private static LithiumOverlay overlayRenderer;
// 	private static ResourceLocation mainResourceLocation;
// 
// 	public static LOverlay getCurrentLithiumOverlay() {
// 		return currentLithiumOverlay;
// 	}
// 
// 	public static void setCurrentLithiumOverlay(LOverlay currentLithiumOverlay) {
// 		LithiumMod.currentLithiumOverlay = currentLithiumOverlay;
// 	}
// 
// 	public static void log(String s) {
// 		System.out.println(s);
// 	}
// 
// 	public static NewLithiumGUI getCurrentLithium() {
// 		return currentLithium;
// 	}
// 
// 	public static void setCurrentLithium(NewLithiumGUI currentLithium) {
// 		LithiumMod.currentLithium = currentLithium;
// 	}
// 
// 	public static LithiumWindowManager getWindowManager() {
// 		return windowManager;
// 	}
// 
// 	public static void setWindowManager(LithiumWindowManager windowManager) {
// 		LithiumMod.windowManager = windowManager;
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	public static void replaceControl(LContainer cc, UUID u, LControl c) {
// 		for (LControl control : cc.getControls()) {
// 			if (control instanceof LContainer) {
// 				replaceControl(((LContainer) control), u, c);
// 			} else if (control.getUUID().equals(u)) {
// 				if (currentLithium != null) {
// 					//Try to check if it is a window
// 					currentLithium.removeControl(control);
// 					currentLithium.addControlToGUI(c);
// 				} else if (currentLithiumOverlay != null) {
// 					//It might be the overlay
// 					currentLithiumOverlay.addControl(c);
// 				}
// 			}
// 		}
// 	}
// 
// 	public static SimpleNetworkWrapper getSimpleNetworkWrapper() {
// 		return network;
// 	}
// 
// 	public static ResourceLocation getMainResourceLocation() {
// 		return mainResourceLocation;
// 	}
// 
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event) {
// 		mainResourceLocation = new ResourceLocation(event.getModConfigurationDirectory() + "/lithium/images/");
// 
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	@EventHandler
// 	public void init(FMLInitializationEvent event) {
// 		overlayRenderer = new LithiumOverlay();
// 		MinecraftForge.EVENT_BUS.register(NetworkEventHandler.INSTANCE);
// 		MinecraftForge.EVENT_BUS.register(overlayRenderer);
// 		network = NetworkRegistry.INSTANCE.newSimpleChannel(LithiumMod.CHANNELNAME);
// 		Handle.setPacketHandler(new PacketHandlerImpl());
// 		getSimpleNetworkWrapper().registerMessage(Handle.class, LithiumMessage.class, 0, Side.CLIENT);
// 
// 	}
// }
// 
// Path: src/main/java/net/nickac/lithium/frontend/mod/network/packethandler/abstracts/PacketIn.java
// public interface PacketIn {
// 
//     void execute(List<String> data);
// 
//     String key();
// }


import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.nickac.lithium.backend.controls.LContainer;
import net.nickac.lithium.backend.controls.LControl;
import net.nickac.lithium.backend.other.LithiumConstants;
import net.nickac.lithium.frontend.mod.LithiumMod;
import net.nickac.lithium.frontend.mod.network.packethandler.abstracts.PacketIn;
import java.util.List;
import java.util.UUID;
package net.nickac.lithium.frontend.mod.network.packethandler.in;



public class RemoveFromContainer implements PacketIn {

    @SideOnly(Side.CLIENT)
    @Override
    public void execute(List<String> data) {
// Path: src/main/java/net/nickac/lithium/frontend/mod/LithiumMod.java
// @SuppressWarnings("WeakerAccess")
// @Mod(modid = LithiumMod.MODID, version = LithiumMod.VERSION, clientSideOnly = true, canBeDeactivated = true)
// public class LithiumMod {
// 	public static final String MODID = "lithium";
// 	public static final String CHANNELNAME = "Lithium";
// 	public static final String VERSION = "1.2-BETA";
// 
// 	private static LithiumWindowManager windowManager = new LithiumWindowManager();
// 	private static NewLithiumGUI currentLithium;
// 	private static LOverlay currentLithiumOverlay;
// 	private static SimpleNetworkWrapper network;
// 	private static LithiumOverlay overlayRenderer;
// 	private static ResourceLocation mainResourceLocation;
// 
// 	public static LOverlay getCurrentLithiumOverlay() {
// 		return currentLithiumOverlay;
// 	}
// 
// 	public static void setCurrentLithiumOverlay(LOverlay currentLithiumOverlay) {
// 		LithiumMod.currentLithiumOverlay = currentLithiumOverlay;
// 	}
// 
// 	public static void log(String s) {
// 		System.out.println(s);
// 	}
// 
// 	public static NewLithiumGUI getCurrentLithium() {
// 		return currentLithium;
// 	}
// 
// 	public static void setCurrentLithium(NewLithiumGUI currentLithium) {
// 		LithiumMod.currentLithium = currentLithium;
// 	}
// 
// 	public static LithiumWindowManager getWindowManager() {
// 		return windowManager;
// 	}
// 
// 	public static void setWindowManager(LithiumWindowManager windowManager) {
// 		LithiumMod.windowManager = windowManager;
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	public static void replaceControl(LContainer cc, UUID u, LControl c) {
// 		for (LControl control : cc.getControls()) {
// 			if (control instanceof LContainer) {
// 				replaceControl(((LContainer) control), u, c);
// 			} else if (control.getUUID().equals(u)) {
// 				if (currentLithium != null) {
// 					//Try to check if it is a window
// 					currentLithium.removeControl(control);
// 					currentLithium.addControlToGUI(c);
// 				} else if (currentLithiumOverlay != null) {
// 					//It might be the overlay
// 					currentLithiumOverlay.addControl(c);
// 				}
// 			}
// 		}
// 	}
// 
// 	public static SimpleNetworkWrapper getSimpleNetworkWrapper() {
// 		return network;
// 	}
// 
// 	public static ResourceLocation getMainResourceLocation() {
// 		return mainResourceLocation;
// 	}
// 
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event) {
// 		mainResourceLocation = new ResourceLocation(event.getModConfigurationDirectory() + "/lithium/images/");
// 
// 	}
// 
// 	@SideOnly(Side.CLIENT)
// 	@EventHandler
// 	public void init(FMLInitializationEvent event) {
// 		overlayRenderer = new LithiumOverlay();
// 		MinecraftForge.EVENT_BUS.register(NetworkEventHandler.INSTANCE);
// 		MinecraftForge.EVENT_BUS.register(overlayRenderer);
// 		network = NetworkRegistry.INSTANCE.newSimpleChannel(LithiumMod.CHANNELNAME);
// 		Handle.setPacketHandler(new PacketHandlerImpl());
// 		getSimpleNetworkWrapper().registerMessage(Handle.class, LithiumMessage.class, 0, Side.CLIENT);
// 
// 	}
// }
// 
// Path: src/main/java/net/nickac/lithium/frontend/mod/network/packethandler/abstracts/PacketIn.java
// public interface PacketIn {
// 
//     void execute(List<String> data);
// 
//     String key();
// }


// Path: src/main/java/net/nickac/lithium/frontend/mod/network/packethandler/in/RemoveFromContainer.java
import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import net.nickac.lithium.backend.controls.LContainer;
import net.nickac.lithium.backend.controls.LControl;
import net.nickac.lithium.backend.other.LithiumConstants;
import net.nickac.lithium.frontend.mod.LithiumMod;
import net.nickac.lithium.frontend.mod.network.packethandler.abstracts.PacketIn;
import java.util.List;
import java.util.UUID;

package net.nickac.lithium.frontend.mod.network.packethandler.in;



public class RemoveFromContainer implements PacketIn {

    @SideOnly(Side.CLIENT)
    @Override
    public void execute(List<String> data) {
        UUID containerUUID = UUID.fromString(data.get(0));