// Path: src/main/java/com/dta/extracarts/ModInfo.java
// public class ModInfo {
// 	
// 	public static final String NAME = "Extra Carts";
//     public static final String MODID = "extracarts";
//     public static final String VERSION = "@VERSION@";
// 
//     private static ArrayList<Module> MODULES_ENABLED = new ArrayList<Module>();
// 
//     public static ArrayList<Module> getModules() {
//         if(MODULES_ENABLED.isEmpty()) {
// 			MODULES_ENABLED.add(new BaseModule());
// 			MODULES_ENABLED.add(new IronChestModule());
// 			MODULES_ENABLED.add(new MFRModule());
//             MODULES_ENABLED.add(new MinechemModule());
// 		}
//         return MODULES_ENABLED;
//     }
// }
// 
// Path: src/main/java/com/dta/extracarts/items/ExtraCartItem.java
// public abstract class ExtraCartItem extends ItemMinecart {
// 	public ExtraCartItem(int p_i45345_1_) {
// 		super(p_i45345_1_);
// 		this.setCreativeTab(CreativeTabs.tabTransport);
// 		this.maxStackSize = 1;
// 	}
// 
// 	@Override
// 	public abstract boolean onItemUse(ItemStack itemstack, EntityPlayer player, World world, int x, int y, int z, int par7,
// 							 float par8, float par9, float par10);
// 
// 	public boolean placeCart(ItemStack itemStack, EntityPlayer entityPlayer, World world, int x, int y, int z,
// 							 EntityMinecart entityMinecart) {
// 		if (BlockRailBase.func_150051_a(world.getBlock(x, y, z))) {
// 			if (!world.isRemote) {
// 				entityMinecart.posX = (float)x + 0.5F;
// 				entityMinecart.posY = (float)y + 0.5F;
// 				entityMinecart.posZ = (float)z + 0.5F;
// 				world.spawnEntityInWorld(entityMinecart);
// 			}
// 
// 			--itemStack.stackSize;
// 			return true;
// 		} else {
// 			return false;
// 		}
// 	}
// }
// 
// 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.ModInfo;
import com.dta.extracarts.items.ExtraCartItem;
import com.dta.extracarts.mods.minechem.entities.EntityLeadedChestCart;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
package com.dta.extracarts.mods.minechem.items;


/**
 * Created by Skylar on 3/30/2015.
 */
public class ItemLeadedChestCart extends ExtraCartItem {
	public ItemLeadedChestCart() {
		super(1);
		this.setUnlocalizedName("LeadedChestCart");
// Path: src/main/java/com/dta/extracarts/ModInfo.java
// public class ModInfo {
// 	
// 	public static final String NAME = "Extra Carts";
//     public static final String MODID = "extracarts";
//     public static final String VERSION = "@VERSION@";
// 
//     private static ArrayList<Module> MODULES_ENABLED = new ArrayList<Module>();
// 
//     public static ArrayList<Module> getModules() {
//         if(MODULES_ENABLED.isEmpty()) {
// 			MODULES_ENABLED.add(new BaseModule());
// 			MODULES_ENABLED.add(new IronChestModule());
// 			MODULES_ENABLED.add(new MFRModule());
//             MODULES_ENABLED.add(new MinechemModule());
// 		}
//         return MODULES_ENABLED;
//     }
// }
// 
// Path: src/main/java/com/dta/extracarts/items/ExtraCartItem.java
// public abstract class ExtraCartItem extends ItemMinecart {
// 	public ExtraCartItem(int p_i45345_1_) {
// 		super(p_i45345_1_);
// 		this.setCreativeTab(CreativeTabs.tabTransport);
// 		this.maxStackSize = 1;
// 	}
// 
// 	@Override
// 	public abstract boolean onItemUse(ItemStack itemstack, EntityPlayer player, World world, int x, int y, int z, int par7,
// 							 float par8, float par9, float par10);
// 
// 	public boolean placeCart(ItemStack itemStack, EntityPlayer entityPlayer, World world, int x, int y, int z,
// 							 EntityMinecart entityMinecart) {
// 		if (BlockRailBase.func_150051_a(world.getBlock(x, y, z))) {
// 			if (!world.isRemote) {
// 				entityMinecart.posX = (float)x + 0.5F;
// 				entityMinecart.posY = (float)y + 0.5F;
// 				entityMinecart.posZ = (float)z + 0.5F;
// 				world.spawnEntityInWorld(entityMinecart);
// 			}
// 
// 			--itemStack.stackSize;
// 			return true;
// 		} else {
// 			return false;
// 		}
// 	}
// }
// 
// 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/items/ItemLeadedChestCart.java
import com.dta.extracarts.ModInfo;
import com.dta.extracarts.items.ExtraCartItem;
import com.dta.extracarts.mods.minechem.entities.EntityLeadedChestCart;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

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


/**
 * Created by Skylar on 3/30/2015.
 */
public class ItemLeadedChestCart extends ExtraCartItem {
	public ItemLeadedChestCart() {
		super(1);
		this.setUnlocalizedName("LeadedChestCart");
		this.setTextureName(ModInfo.MODID + ":minechem/LeadedChestCart");