package rewbot.minecraft.tutorial.crafting;

import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameRegistry;
import rewbot.minecraft.tutorial.blocks.MmaBlocks;
import rewbot.minecraft.tutorial.items.MmaItems;

/**
 * Created by ashepherd on 5/22/2016.
 */
public class MmaRecipes {

    public static void initRecipes() {
        //addRecipe takes Java varargs as it's second argument. They let you pass any number of objects of a specific type, in this case object
        GameRegistry.addRecipe(new ItemStack(MmaBlocks.copperBlock),
                "###",
                "###",
                "###",
                '#', MmaItems.copperIngot
        );

        GameRegistry.addShapelessRecipe(new ItemStack(MmaItems.copperIngot, 9),
                MmaBlocks.copperBlock
        );
    }
}

@@ -40,16 +40,50 @@
 ing;%0D%0A%0D%0A
+import net.minecraft.init.Items;%0D%0A
 import n
@@ -112,16 +112,16 @@
 Stack;%0D%0A
-
 import n
@@ -395,16 +395,134 @@
 es() %7B%0D%0A
+        initCopperRecipes();%0D%0A        initLaconianRecipes();%0D%0A    %7D%0D%0A%0D%0A    private static void initCopperRecipes() %7B%0D%0A
         
@@ -977,16 +977,16 @@
 rBlock%0D%0A
-
         
@@ -995,12 +995,462 @@
 %0D%0A    %7D%0D
+%0A%0D%0A    private static void initLaconianRecipes() %7B%0D%0A        //Shaped%0D%0A        //Sword%0D%0A        GameRegistry.addRecipe(new ItemStack(MmaItems.laconianSword),%0D%0A                %22 L %22,%0D%0A                %22 L %22,%0D%0A                %22 W %22,%0D%0A                'L', MmaItems.laconianIngot,%0D%0A                'W', Items.stick%0D%0A        );%0D%0A%0D%0A        //Shapeless%0D%0A        GameRegistry.addShapelessRecipe(new ItemStack(MmaBlocks.laconianOre, 64), Items.diamond);%0D%0A    %7D%0D
 %0A%7D%0D%0A

Add recipes for Laconian items