// Path: src/main/java/com/dta/extracarts/mods/minechem/entities/EntityLeadedChestCart.java
// @Optional.Interface(iface = "mods.railcraft.api.carts.IMinecart", modid = "RailcraftAPI|carts")
// public class EntityLeadedChestCart extends EntityExtraCartChestMinecart implements OpenableGUI, IMinecart {
// 	private Block leadedChest = GameRegistry.findBlock("minechem", "tile.leadChest");
// 
// 	public EntityLeadedChestCart(World world) {
// 		super(world);
// 	}
// 
// 	@Override
// 	public void killMinecart(DamageSource par1DamageSource) {
// 		super.killMinecart(par1DamageSource, new ItemStack(leadedChest, 1, 0));
// 	}
// 
// 	@Override
// 	public int getSizeInventory() {
// 		return 9;
// 	}
// 
// 	@Override
// 	public Block func_145817_o() {
// 		return leadedChest;
// 	}
// 
// 	@Override
// 	public Block func_145820_n() {
// 		return leadedChest;
// 	}
// 
// 	@Override
// 	public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
// 		return new GUILeadedChestCart(player.inventory, this);
// 	}
// 
// 	@Override
// 	public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
// 		return new ContainerLeadedChestCart(player.inventory, this);
// 	}
// 
// 	@Optional.Method(modid = "RailcraftAPI|carts")
// 	public boolean doesCartMatchFilter(ItemStack stack, EntityMinecart cart) {
// 		ItemStack CartStack = new ItemStack(MinechemModule.itemLeadedChestCart, 1, 0);
// 		if (cart instanceof EntityLeadedChestCart && stack.getItem() == CartStack.getItem() && stack.getItemDamage() == 0) {
// 			return true;
// 		}
// 		return false;
// 	}
// }


import com.dta.extracarts.mods.minechem.entities.EntityLeadedChestCart;
import minechem.gui.GuiContainerTabbed;
import minechem.gui.GuiTabHelp;
import minechem.gui.GuiTabPatreon;
import minechem.reference.Resources;
import minechem.utils.MinechemUtil;
import net.minecraft.inventory.IInventory;
import org.lwjgl.opengl.GL11;
package com.dta.extracarts.mods.minechem.client;


/**
 * Created by Skylar on 4/1/2015.
 */
public class GUILeadedChestCart extends GuiContainerTabbed {
	int guiWidth = 176;
	int guiHeight = 217;

// Path: src/main/java/com/dta/extracarts/mods/minechem/entities/EntityLeadedChestCart.java
// @Optional.Interface(iface = "mods.railcraft.api.carts.IMinecart", modid = "RailcraftAPI|carts")
// public class EntityLeadedChestCart extends EntityExtraCartChestMinecart implements OpenableGUI, IMinecart {
// 	private Block leadedChest = GameRegistry.findBlock("minechem", "tile.leadChest");
// 
// 	public EntityLeadedChestCart(World world) {
// 		super(world);
// 	}
// 
// 	@Override
// 	public void killMinecart(DamageSource par1DamageSource) {
// 		super.killMinecart(par1DamageSource, new ItemStack(leadedChest, 1, 0));
// 	}
// 
// 	@Override
// 	public int getSizeInventory() {
// 		return 9;
// 	}
// 
// 	@Override
// 	public Block func_145817_o() {
// 		return leadedChest;
// 	}
// 
// 	@Override
// 	public Block func_145820_n() {
// 		return leadedChest;
// 	}
// 
// 	@Override
// 	public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
// 		return new GUILeadedChestCart(player.inventory, this);
// 	}
// 
// 	@Override
// 	public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z) {
// 		return new ContainerLeadedChestCart(player.inventory, this);
// 	}
// 
// 	@Optional.Method(modid = "RailcraftAPI|carts")
// 	public boolean doesCartMatchFilter(ItemStack stack, EntityMinecart cart) {
// 		ItemStack CartStack = new ItemStack(MinechemModule.itemLeadedChestCart, 1, 0);
// 		if (cart instanceof EntityLeadedChestCart && stack.getItem() == CartStack.getItem() && stack.getItemDamage() == 0) {
// 			return true;
// 		}
// 		return false;
// 	}
// }


// Path: src/main/java/com/dta/extracarts/mods/minechem/client/GUILeadedChestCart.java
import com.dta.extracarts.mods.minechem.entities.EntityLeadedChestCart;
import minechem.gui.GuiContainerTabbed;
import minechem.gui.GuiTabHelp;
import minechem.gui.GuiTabPatreon;
import minechem.reference.Resources;
import minechem.utils.MinechemUtil;
import net.minecraft.inventory.IInventory;
import org.lwjgl.opengl.GL11;

package com.dta.extracarts.mods.minechem.client;


/**
 * Created by Skylar on 4/1/2015.
 */
public class GUILeadedChestCart extends GuiContainerTabbed {
	int guiWidth = 176;
	int guiHeight = 217;

	public GUILeadedChestCart(IInventory invPlayer, EntityLeadedChestCart cart) {