package com.pahimar.ee3.init; import com.pahimar.ee3.recipe.AludelRecipeManager; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.init.Blocks; import net.minecraft.init.Items; import net.minecraft.item.ItemStack; import net.minecraftforge.oredict.OreDictionary; import net.minecraftforge.oredict.ShapedOreRecipe; public class Recipes { public static void init() { initModRecipes(); initAludelRecipes(); } private static void initModRecipes() { GameRegistry.addShapedRecipe( new ItemStack(ModBlocks.ashInfusedStoneSlab, 6), "sss", 's', new ItemStack(ModBlocks.ashInfusedStone) ); GameRegistry.addShapedRecipe( new ItemStack(ModBlocks.ashInfusedStone, 1), "s", "s", 's', new ItemStack(ModBlocks.ashInfusedStoneSlab) ); GameRegistry.addShapelessRecipe( new ItemStack(ModItems.chalk), new ItemStack(Items.dye, 1, 15), new ItemStack(Items.clay_ball) ); GameRegistry.addShapedRecipe( new ItemStack(ModBlocks.chalkBlock), "cc", "cc", 'c', ModItems.chalk ); GameRegistry.addShapedRecipe( new ItemStack(ModBlocks.glassBell), "ggg", "g g", "g g", 'g', Blocks.glass ); GameRegistry.addRecipe(new ShapedOreRecipe( new ItemStack(ModBlocks.calcinator), "i i", "sis", "s s", 'i', "ingotIron", 's', Blocks.stone )); GameRegistry.addRecipe(new ShapedOreRecipe( new ItemStack(ModBlocks.aludel), "iii", "sis", "iii", 'i', "ingotIron", 's', Blocks.stone )); GameRegistry.addRecipe(new ShapedOreRecipe( new ItemStack(ModBlocks.researchStation), "ipi", " s ", "sss", 'i', "ingotIron", 's', Blocks.stone, 'p', "slabWood" )); GameRegistry.addRecipe(new ShapedOreRecipe( new ItemStack(ModItems.stoneInert), "sis", "igi", "sis", 's', Blocks.stone, 'i', "ingotIron", 'g', "ingotGold" )); } private static void initAludelRecipes() { // Ash + Verdant = Azure AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModItems.alchemicalDust, 1, 2), new ItemStack(ModItems.alchemicalDust, 1, 0), new ItemStack(ModItems.alchemicalDust, 32, 1) ); // Ash + Azure = Minium AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModItems.alchemicalDust, 1, 3), new ItemStack(ModItems.alchemicalDust, 1, 0), new ItemStack(ModItems.alchemicalDust, 4, 2) ); // Alchemical Chest AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModBlocks.alchemicalChest, 1, 0), new ItemStack(Blocks.chest, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ModItems.alchemicalDust, 8, 1) ); AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModBlocks.alchemicalChest, 1, 0), new ItemStack(Blocks.trapped_chest, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ModItems.alchemicalDust, 8, 1) ); AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModBlocks.alchemicalChest, 1, 1), new ItemStack(Blocks.chest, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ModItems.alchemicalDust, 8, 2) ); AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModBlocks.alchemicalChest, 1, 1), new ItemStack(ModBlocks.alchemicalChest, 1, 0), new ItemStack(ModItems.alchemicalDust, 8, 2) ); AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModBlocks.alchemicalChest, 1, 2), new ItemStack(Blocks.chest, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ModItems.alchemicalDust, 8, 3) ); AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModBlocks.alchemicalChest, 1, 2), new ItemStack(ModBlocks.alchemicalChest, 1, 0), new ItemStack(ModItems.alchemicalDust, 8, 3) ); AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModBlocks.alchemicalChest, 1, 2), new ItemStack(ModBlocks.alchemicalChest, 1, 1), new ItemStack(ModItems.alchemicalDust, 8, 3) ); // Minium Stone AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModItems.stoneMinium), new ItemStack(ModItems.stoneInert), new ItemStack(ModItems.shardMinium, 8) ); // Alchenomicon AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModItems.alchenomicon), new ItemStack(Items.book), new ItemStack(ModItems.alchemicalDust, 1, 3) ); // Alchemical bags AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModItems.alchemicalBag, 1, 0), new ItemStack(Blocks.wool, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ModItems.alchemicalDust, 8, 1) ); AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModItems.alchemicalBag, 1, 1), new ItemStack(Blocks.wool, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ModItems.alchemicalDust, 8, 2) ); AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModItems.alchemicalBag, 1, 2), new ItemStack(Blocks.wool, 1, OreDictionary.WILDCARD_VALUE), new ItemStack(ModItems.alchemicalDust, 8, 3) ); // Infused Stone AludelRecipeManager.getInstance().addRecipe( new ItemStack(ModBlocks.ashInfusedStone), new ItemStack(Blocks.stone), new ItemStack(ModItems.alchemicalDust, 1, 0) ); } }