package se.jereq.testmod.init;

import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class ModRecipes {
	public static void addRecipes() {

		GameRegistry.addRecipe(new ItemStack(ModBlocks.testBlock),
				"AAA",
				"AAA",
				"AAA",
				'A', ModItems.testItem);

		GameRegistry.addSmelting(ModBlocks.testBlock, new ItemStack(ModItems.testItem, 9), 1000.f);

		GameRegistry.addRecipe(new ItemStack(ModItems.blasterAmmo, 12),
				" I ",
				"IRI",
				"IGI",
				'I', Items.iron_ingot,
				'R', Items.redstone,
				'G', Items.gunpowder);

		GameRegistry.addRecipe(new ItemStack(ModItems.blasterRifle),
				"IIF",
				"  I",
				'I', Items.iron_ingot,
				'F', Items.flint_and_steel);
	}
}

package se.jereq.testmod.init;

import net.minecraft.item.ItemStack;
import net.minecraftforge.fml.common.registry.GameRegistry;

public class ModRecipes {
	public static void addRecipes() {

		GameRegistry.addRecipe(new ItemStack(ModBlocks.testBlock),
				"AAA",
				"AAA",
				"AAA",
				'A', ModItems.testItem);

		GameRegistry.addSmelting(ModBlocks.testBlock, new ItemStack(ModItems.testItem, 9), 1000.f);
	}
}

--- 
+++ 
@@ -1,5 +1,6 @@
 package se.jereq.testmod.init;
 
+import net.minecraft.init.Items;
 import net.minecraft.item.ItemStack;
 import net.minecraftforge.fml.common.registry.GameRegistry;
 
@@ -13,5 +14,19 @@
 				'A', ModItems.testItem);
 
 		GameRegistry.addSmelting(ModBlocks.testBlock, new ItemStack(ModItems.testItem, 9), 1000.f);
+
+		GameRegistry.addRecipe(new ItemStack(ModItems.blasterAmmo, 12),
+				" I ",
+				"IRI",
+				"IGI",
+				'I', Items.iron_ingot,
+				'R', Items.redstone,
+				'G', Items.gunpowder);
+
+		GameRegistry.addRecipe(new ItemStack(ModItems.blasterRifle),
+				"IIF",
+				"  I",
+				'I', Items.iron_ingot,
+				'F', Items.flint_and_steel);
 	}
 }
Add recipes for rifle and ammo
