package baubles.common;
import java.io.File;
import net.minecraft.item.Item;
import net.minecraftforge.common.config.Configuration;
import baubles.common.items.ItemRing;
import cpw.mods.fml.common.registry.GameRegistry;
public class Config {
public static Configuration config;
public static Item itemRing;
public static void initialize(File file)
{
config = new Configuration(file);
config.load();
itemRing =(new ItemRing()).setUnlocalizedName("Ring");
GameRegistry.registerItem(itemRing, "Ring", Baubles.MODID);
//save it
config.save();
}
public static void save()
{
config.save();
}
public static void initRecipe() {
// GameRegistry.addShapedRecipe(
// new ItemStack(itemRing), new Object[] {
// "PIP", "IPI", "PIP",
// Character.valueOf('I'), new ItemStack(Items.iron_ingot),
// Character.valueOf('P'), new ItemStack(Items.potionitem,1,8226)});
}
}