@EventHandler
public void PreInit(FMLPreInitializationEvent PreEvent){
//Cape Stuff
DevCapesUtil.getInstance().addFileUrl("https://dl.dropboxusercontent.com/u/176170295/MechaniCraftCapes.txt");
Configuration Config = new Configuration(PreEvent.getSuggestedConfigurationFile());
Config.load();
//Items
int RubyID = Config.getItem("Ruby", 3840).getInt();
int PureCrystalID = Config.getItem("PureCrystal", 3841).getInt();
int EvilCrystalID = Config.getItem("EvilCrystal", 3842).getInt();
int SapphireID = Config.getItem("Sapphire", 3843).getInt();
int EndIngotID = Config.getItem("EndIngot", 3844).getInt();
int GlassIngotID = Config.getItem("GlassIngot", 3845).getInt();
int ObsidianChunkID = Config.getItem("ObsidianChunk", 3846).getInt();
int ObsidianIngotID = Config.getItem("ObsidianIngot", 3847).getInt();
int TinIngotID = Config.getItem("TinIngot", 3848).getInt();
int CopperIngotID = Config.getItem("CopperIngot", 3849).getInt();
int BronzeIngotID = Config.getItem("BronzeIngot", 3850).getInt();
int TinNuggetID = Config.getItem("TinNugget", 3851).getInt();
int IronNuggetID = Config.getItem("IronNugget", 3852).getInt();
int CopperNuggetID = Config.getItem("CopperNugget", 3853).getInt();
int TinDustID = Config.getItem("TinDust", 3854).getInt();
int IronDustID = Config.getItem("IronDust", 3855).getInt();
int CopperDustID = Config.getItem("CopperDust", 3856).getInt();
int GoldDustID = Config.getItem("GoldDust", 3857).getInt();
//Machine Items
int OreGrinderBladeID = Config.getItem("OreGrinderBlade", 3858).getInt();
int FurnaceSmeltryID = Config.getItem("FurnaceSmeltry", 3859).getInt();
int MachineFramePartID = Config.getItem("MachineFramePart", 3860).getInt();
//Food
int RawLambchopID = Config.getItem("RawLambchop", 3870).getInt();
int CookedLambchopID = Config.getItem("CookedLambchop", 3871).getInt();
//Weapons
int GlassSwordID = Config.getItem("GlassSword", 3900).getInt();
int RubySwordID = Config.getItem("RubySword", 3901).getInt();
int EmeraldSwordID = Config.getItem("EmeraldSword", 3902).getInt();
int SapphireSwordID = Config.getItem("SapphireSword", 3903).getInt();
int ObsidianSwordID = Config.getItem("ObsidianSword", 3904).getInt();
int EndSwordID = Config.getItem("EndSword", 3905).getInt();
int EvilSwordID = Config.getItem("EvilSword", 3906).getInt();
int PureSwordID = Config.getItem("PureSword", 3907).getInt();
int BronzeSwordID = Config.getItem("BronzeSword", 3908).getInt();
//Tools
int GlassHoeID = Config.getItem("GlassHoe", 3909).getInt();
int GlassShovelID = Config.getItem("GlassShovel", 3910).getInt();
int GlassAxeID = Config.getItem("GlassAxe", 3911).getInt();
int GlassPickaxeID = Config.getItem("GlassPickaxe", 3912).getInt();
int RubyHoeID = Config.getItem("RubyHoe", 3913).getInt();
int RubyShovelID = Config.getItem("RubyShovel", 3914).getInt();
int RubyAxeID = Config.getItem("RubyAxe", 3915).getInt();
int RubyPickaxeID = Config.getItem("RubyPickaxe", 3916).getInt();
int EmeraldHoeID = Config.getItem("EmeraldHoe", 3917).getInt();
int EmeraldShovelID = Config.getItem("EmeraldShovel", 3918).getInt();
int EmeraldAxeID = Config.getItem("EmeraldAxe", 3919).getInt();
int EmeraldPickaxeID = Config.getItem("EmeraldPickaxe", 3920).getInt();
int SapphireHoeID = Config.getItem("SapphireHoe", 3921).getInt();
int SapphireShovelID = Config.getItem("SapphireShovel", 3922).getInt();
int SapphireAxeID = Config.getItem("SapphireAxe", 3923).getInt();
int SapphirePickaxeID = Config.getItem("SapphirePickaxe", 3924).getInt();
int ObsidianHoeID = Config.getItem("ObsidianHoe", 3925).getInt();
int ObsidianShovelID = Config.getItem("ObsidianShovel", 3926).getInt();
int ObsidianAxeID = Config.getItem("ObsidianAxe", 3927).getInt();
int ObsidianPickaxeID = Config.getItem("ObsidianPickaxe", 3928).getInt();
int EndHoeID = Config.getItem("EndHoe", 3929).getInt();
int EndShovelID = Config.getItem("EndShovel", 3930).getInt();
int EndAxeID = Config.getItem("EndAxe", 3931).getInt();
int EndPickaxeID = Config.getItem("EndPickaxe", 3932).getInt();
int EvilHoeID = Config.getItem("EvilHoe", 3933).getInt();
int EvilShovelID = Config.getItem("EvilShovel", 3934).getInt();
int EvilAxeID = Config.getItem("EvilAxe", 3935).getInt();
int EvilPickaxeID = Config.getItem("EvilPickaxe", 3936).getInt();
int PureHoeID = Config.getItem("PureHoe", 3937).getInt();
int PureShovelID = Config.getItem("PureShovel", 3938).getInt();
int PureAxeID = Config.getItem("PureAxe", 3939).getInt();
int PurePickaxeID = Config.getItem("PurePickaxe", 3940).getInt();
int BronzeHoeID = Config.getItem("BronzeHoe", 3941).getInt();
int BronzeShovelID = Config.getItem("BronzeShovel", 3942).getInt();
int BronzeAxeID = Config.getItem("BronzeAxe", 3943).getInt();
int BronzePickaxeID = Config.getItem("BronzePickaxe", 3944).getInt();
//Armor
int GlassHelmetID = Config.getItem("GlassHelmet", 4000).getInt();
int GlassChestplateID = Config.getItem("GlassChestplate", 4001).getInt();
int GlassLeggingsID = Config.getItem("GlassLeggings", 4002).getInt();
int GlassBootsID = Config.getItem("GlassBoots", 4003).getInt();
int RubyHelmetID = Config.getItem("RubyHelmet", 4004).getInt();
int RubyChestplateID = Config.getItem("RubyChestplate", 4005).getInt();
int RubyLeggingsID = Config.getItem("RubyLeggings", 4006).getInt();
int RubyBootsID = Config.getItem("RubyBoots", 4007).getInt();
int EmeraldHelmetID = Config.getItem("EmeraldHelmet", 4008).getInt();
int EmeraldChestplateID = Config.getItem("EmeraldChestplate", 4009).getInt();
int EmeraldLeggingsID = Config.getItem("EmeraldLeggings", 4010).getInt();
int EmeraldBootsID = Config.getItem("EmeraldBoots", 4011).getInt();
int SapphireHelmetID = Config.getItem("SapphireHelmet", 4012).getInt();
int SapphireChestplateID = Config.getItem("SapphireChestplate", 4013).getInt();
int SapphireLeggingsID = Config.getItem("SapphireLeggings", 4014).getInt();
int SapphireBootsID = Config.getItem("SapphireBoots", 4015).getInt();
int ObsidianHelmetID = Config.getItem("ObsidianHelmet", 4016).getInt();
int ObsidianChestplateID = Config.getItem("ObsidianChestplate", 4017).getInt();
int ObsidianLeggingsID = Config.getItem("ObsidianLeggings", 4018).getInt();
int ObsidianBootsID = Config.getItem("ObsidianBoots", 4019).getInt();
int EndHelmetID = Config.getItem("EndHelmet", 4020).getInt();
int EndChestplateID = Config.getItem("EndChestplate", 4021).getInt();
int EndLeggingsID = Config.getItem("EndLeggings", 4022).getInt();
int EndBootsID = Config.getItem("EndBoots", 4023).getInt();
int EvilHelmetID = Config.getItem("EvilHelmet", 4024).getInt();
int EvilChestplateID = Config.getItem("EvilChestplate", 4025).getInt();
int EvilLeggingsID = Config.getItem("EvilLeggings", 4026).getInt();
int EvilBootsID = Config.getItem("EvilBoots", 4027).getInt();
int PureHelmetID = Config.getItem("PureHelmet", 4028).getInt();
int PureChestplateID = Config.getItem("PureChestplate", 4029).getInt();
int PureLeggingsID = Config.getItem("PureLeggings", 4030).getInt();
int PureBootsID = Config.getItem("PureBoots", 4031).getInt();
int BronzeHelmetID = Config.getItem("BronzeHelmet", 4032).getInt();
int BronzeChestplateID = Config.getItem("BronzeChestplate", 4033).getInt();
int BronzeLeggingsID = Config.getItem("BronzeLeggings", 4034).getInt();
int BronzeBootsID = Config.getItem("BronzeBoots", 4035).getInt();
//Blocks
int CopperOreID = Config.getBlock("CopperOre", 3500).getInt();
int TinOreID = Config.getBlock("TinOre", 3501).getInt();
int RubyOreID = Config.getBlock("RubyOre", 3502).getInt();
int EvilOreID = Config.getBlock("EvilOre", 3503).getInt();
int PureOreID = Config.getBlock("PureOre", 3504).getInt();
int SapphireOreID = Config.getBlock("SapphireOre", 3505).getInt();
int BronzeBlockID = Config.getBlock("BronzeBlock", 3506).getInt();
int EndBlockID = Config.getBlock("EndBlock", 3507).getInt();
int TinBlockID = Config.getBlock("TinBlock", 3508).getInt();
int CopperBlockID = Config.getBlock("CopperBlock", 3509).getInt();
int RubyBlockID = Config.getBlock("RubyBlock", 3510).getInt();
int SapphireBlockID = Config.getBlock("SapphireBlock", 3511).getInt();
int PureGemBlockID = Config.getBlock("PureGemBlock", 3512).getInt();
int EvilGemBlockID = Config.getBlock("EvilGemBlock", 3513).getInt();
int ChiseledQuartzBrickID = Config.getBlock("ChiseledQuartzBrick", 3514).getInt();
int QuartzBrickID = Config.getBlock("QuartzBrick", 3515).getInt();
//Machines
int IronFurnaceIdleID = Config.getBlock("IronFurnaceIdle", 3516).getInt();
int IronFurnaceBurningID = Config.getBlock("IronFurnaceBurning", 3517).getInt();
int OreGrinderIdleID = Config.getBlock("OreGrinderIdle", 3518).getInt();
int OreGrinderBurningID = Config.getBlock("OreGrinderBurning", 3519).getInt();
int MachineFrameID = Config.getBlock("MachineFrame", 3520).getInt();
Config.save();
MechaniCraftBlocks = new CreativeTabs("MechaniCraftBlocks"){ public ItemStack getIconItemStack(){ return new ItemStack(Block.obsidian);}};
MechaniCraftCombat = new CreativeTabs("MechaniCraftCombat"){ public ItemStack getIconItemStack(){ return new ItemStack(MechaniCraft.ObsidianSword);}};
MechaniCraftTools = new CreativeTabs("MechaniCraftTools"){ public ItemStack getIconItemStack(){ return new ItemStack(MechaniCraft.ObsidianPickaxe);}};
MechaniCraftMachines = new CreativeTabs("MechaniCraftMachines"){ public ItemStack getIconItemStack(){ return new ItemStack(MechaniCraft.IronFurnaceBurning);}};