@@ -0,0 +1,2588 @@
+package de.impelon.disenchanter.proxies;%0A%0Aimport cpw.mods.fml.common.FMLCommonHandler;%0Aimport cpw.mods.fml.common.event.FMLInitializationEvent;%0Aimport cpw.mods.fml.common.event.FMLPostInitializationEvent;%0Aimport cpw.mods.fml.common.event.FMLPreInitializationEvent;%0Aimport cpw.mods.fml.common.registry.GameRegistry;%0Aimport de.impelon.disenchanter.DisenchanterMain;%0Aimport de.impelon.disenchanter.blocks.BlockDisenchantmentTable;%0Aimport de.impelon.disenchanter.blocks.GUIHandler;%0Aimport de.impelon.disenchanter.blocks.TileEntityDisenchantmentTable;%0Aimport net.minecraft.block.Block;%0Aimport net.minecraft.init.Blocks;%0Aimport net.minecraft.init.Items;%0Aimport net.minecraft.item.Item;%0Aimport net.minecraft.item.ItemStack;%0Aimport net.minecraftforge.common.config.Configuration;%0Aimport net.minecraftforge.oredict.ShapedOreRecipe;%0A%0A%0Apublic class CommonProxy %7B%0A%09%0A%09public static final Block disenchantmentTable = new BlockDisenchantmentTable();%0A%09%0A%09public void preInit(FMLPreInitializationEvent ev) %7B%0A%09%09Configuration config = new Configuration(ev.getSuggestedConfigurationFile());%0A%09%09DisenchanterMain.config = config;%0A%09%09config.load();%0A%09%09%0A%09%09config.get(%22general%22, %22CheckVersion%22, true, %22Should Disenchanter check for new versions on startup?%22);%0A%09%09config.get(%22disenchanting%22, %22FlatDamage%22, 10, %22How much flat damage should be dealt to Items when disenchanting?%22);%0A%09%09config.get(%22disenchanting%22, %22MaxDurabilityDamage%22, 0.025, %22How much of the Item's maximal durability should be dealt as damage to Items when disenchanting?%22);%0A%09%09config.get(%22disenchanting%22, %22MaxDurabilityDamageReduceable%22, 0.2, %22How much of the Item's maximal durability should be dealt as reduceable damage to Items when disenchanting?%22);%0A%09%09%0A%09%09config.save();%0A%09%09%0A%09%09GameRegistry.registerTileEntity(TileEntityDisenchantmentTable.class, %22TileDisentchantmentTable%22);%0A%09%09%0A%09%09GameRegistry.registerBlock(disenchantmentTable, %22BlockDisenchantmentTable%22);%0A%09%7D%0A%09%0A%09public void load(FMLInitializationEvent ev) %7B%0A%09%09if (DisenchanterMain.config.get(%22general%22, %22CheckVersion%22, true).getBoolean())%0A%09%09%09FMLCommonHandler.instance().bus().register(DisenchanterMain.versionChecker);%0A%09%09%0A%09%09cpw.mods.fml.common.network.NetworkRegistry.INSTANCE.registerGuiHandler(DisenchanterMain.instance, new GUIHandler());%0A%09%09%09%0A%09%09GameRegistry.addRecipe(new ShapedOreRecipe(new ItemStack(Item.getItemFromBlock(disenchantmentTable), 1),%0A%09%09%09%09%09%22   %22,%0A%09%09%09%09%09%22YEY%22,%0A%09%09%09%09%09%22ETE%22,%0A%09%09%09%09%09Character.valueOf('T'), Blocks.enchanting_table,%0A%09%09%09%09%09Character.valueOf('E'), Items.emerald,%0A%09%09%09%09%09Character.valueOf('Y'), %22dyeYellow%22%0A%09%09));%0A%09%7D%0A%09%0A%09public void postInit(FMLPostInitializationEvent ev) %7B%7D%0A%09%0A%7D%0A

Create CommonProxy.java