// Path: src/main/java/mods/ocminecart/OCMinecart.java
// @Mod(modid = OCMinecart.MODID, name=OCMinecart.NAME, version=OCMinecart.VERSION, dependencies = "required-after:OpenComputers@[1.6.0.6-beta.4,);"
// 		+ "after:Waila;"
// 		+ "after:Railcraft@[9.7.0.0,)")
// public class OCMinecart {
// 	public static final String MODID = "ocminecart";
// 	public static final String VERSION = "1.7";
// 	public static final String NAME = "OC-Minecarts";
// 	
// 	@Instance(OCMinecart.MODID)
// 	public static OCMinecart instance;
// 	
// 	public static Logger logger = LogManager.getLogger(OCMinecart.NAME);
// 	
// 	@SidedProxy(serverSide="mods.ocminecart.common.CommonProxy", clientSide="mods.ocminecart.client.ClientProxy")
// 	public static CommonProxy proxy;
// 	
// 	public static Configuration config;
// 	
// 	public static CreativeTabs itemGroup = new CreativeTabs(OCMinecart.MODID+".modtab"){
// 		@Override
// 		public Item getTabIconItem() {
// 			return ModItems.item_ComputerCartCase;
// 		}
// 	};
// 	
// 	//public static CreativeTabs itemGroup = li.cil.oc.api.CreativeTab.instance;
// 	
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event){	
// 		config = new Configuration(event.getSuggestedConfigurationFile());
// 		Settings.init();
// 		
// 		proxy.preInit();
// 	}
// 	
// 	@EventHandler
// 	public void Init(FMLInitializationEvent event){
// 		logModApis();
// 		
// 		proxy.init();
// 	}
// 	
// 	@EventHandler
// 	public void postInit(FMLPostInitializationEvent event){
// 		proxy.postInit();
// 	}
// 	
// 	private void logModApis(){
// 		if(Loader.isModLoaded("appliedenergistics2")) OCMinecart.logger.info("Found Mod: AE2");
// 		if(Loader.isModLoaded("NotEnoughItems")) OCMinecart.logger.info("Found Mod: NEI");
// 		if(Loader.isModLoaded("Waila")) OCMinecart.logger.info("Found Mod: WAILA");
// 		if(Loader.isModLoaded("Railcraft")) OCMinecart.logger.info("Found Mod: Railcraft");
// 	}
// }


import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import mods.ocminecart.OCMinecart;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.IIcon;
import net.minecraft.util.StatCollector;
import java.util.List;
package mods.ocminecart.common.items;



public class ComputerCartCase extends Item{
	
	private IIcon t1case;
	private IIcon t2case;
	private IIcon t3case;
	private IIcon t4case;
	
	ComputerCartCase(){
		super();
		this.setHasSubtypes(true);
		this.setUnlocalizedName(OCMinecart.MODID+".computercartcase");
		this.setMaxStackSize(1);
	}
	
	@SideOnly(Side.CLIENT)
    public IIcon getIconFromDamage(int damage)
    {
        switch(damage){
        case 0: return t1case;
        case 1: return t2case;
        case 2: return t3case;
        case 3: return t4case;
        default: return null;
        }
    }
	
	@SideOnly(Side.CLIENT)
    public void registerIcons(IIconRegister register){
		t1case = register.registerIcon(OCMinecart.MODID+":computercartcase_1");
		t2case = register.registerIcon(OCMinecart.MODID+":computercartcase_2");
// Path: src/main/java/mods/ocminecart/OCMinecart.java
// @Mod(modid = OCMinecart.MODID, name=OCMinecart.NAME, version=OCMinecart.VERSION, dependencies = "required-after:OpenComputers@[1.6.0.6-beta.4,);"
// 		+ "after:Waila;"
// 		+ "after:Railcraft@[9.7.0.0,)")
// public class OCMinecart {
// 	public static final String MODID = "ocminecart";
// 	public static final String VERSION = "1.7";
// 	public static final String NAME = "OC-Minecarts";
// 	
// 	@Instance(OCMinecart.MODID)
// 	public static OCMinecart instance;
// 	
// 	public static Logger logger = LogManager.getLogger(OCMinecart.NAME);
// 	
// 	@SidedProxy(serverSide="mods.ocminecart.common.CommonProxy", clientSide="mods.ocminecart.client.ClientProxy")
// 	public static CommonProxy proxy;
// 	
// 	public static Configuration config;
// 	
// 	public static CreativeTabs itemGroup = new CreativeTabs(OCMinecart.MODID+".modtab"){
// 		@Override
// 		public Item getTabIconItem() {
// 			return ModItems.item_ComputerCartCase;
// 		}
// 	};
// 	
// 	//public static CreativeTabs itemGroup = li.cil.oc.api.CreativeTab.instance;
// 	
// 	@EventHandler
// 	public void preInit(FMLPreInitializationEvent event){	
// 		config = new Configuration(event.getSuggestedConfigurationFile());
// 		Settings.init();
// 		
// 		proxy.preInit();
// 	}
// 	
// 	@EventHandler
// 	public void Init(FMLInitializationEvent event){
// 		logModApis();
// 		
// 		proxy.init();
// 	}
// 	
// 	@EventHandler
// 	public void postInit(FMLPostInitializationEvent event){
// 		proxy.postInit();
// 	}
// 	
// 	private void logModApis(){
// 		if(Loader.isModLoaded("appliedenergistics2")) OCMinecart.logger.info("Found Mod: AE2");
// 		if(Loader.isModLoaded("NotEnoughItems")) OCMinecart.logger.info("Found Mod: NEI");
// 		if(Loader.isModLoaded("Waila")) OCMinecart.logger.info("Found Mod: WAILA");
// 		if(Loader.isModLoaded("Railcraft")) OCMinecart.logger.info("Found Mod: Railcraft");
// 	}
// }


// Path: src/main/java/mods/ocminecart/common/items/ComputerCartCase.java
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import mods.ocminecart.OCMinecart;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.IIcon;
import net.minecraft.util.StatCollector;
import java.util.List;

package mods.ocminecart.common.items;



public class ComputerCartCase extends Item{
	
	private IIcon t1case;
	private IIcon t2case;
	private IIcon t3case;
	private IIcon t4case;
	
	ComputerCartCase(){
		super();
		this.setHasSubtypes(true);
		this.setUnlocalizedName(OCMinecart.MODID+".computercartcase");
		this.setMaxStackSize(1);
	}
	
	@SideOnly(Side.CLIENT)
    public IIcon getIconFromDamage(int damage)
    {
        switch(damage){
        case 0: return t1case;
        case 1: return t2case;
        case 2: return t3case;
        case 3: return t4case;
        default: return null;
        }
    }
	
	@SideOnly(Side.CLIENT)
    public void registerIcons(IIconRegister register){
		t1case = register.registerIcon(OCMinecart.MODID+":computercartcase_1");
		t2case = register.registerIcon(OCMinecart.MODID+":computercartcase_2");
		t3case = register.registerIcon(OCMinecart.MODID+":computercartcase_3");