package com.lothrazar.samsprojectiles;

import java.util.ArrayList;  

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

public class ItemRegistry 
{ 
	public static ArrayList<Item> items = new ArrayList<Item>();
    
	public static Item soulstone;
	public static Item ender_water;
	public static Item ender_snow;
	public static Item ender_harvest;
	public static Item ender_lightning;
	public static Item ender_torch;
  
	public static void registerItems()
	{   
		soulstone = new Item();
		ItemRegistry.registerItem(soulstone, "soulstone");
 
		ender_torch = new Item();
		ItemRegistry.registerItem(ender_torch, "ender_torch");
		GameRegistry.addShapelessRecipe(new ItemStack(ender_torch,6)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Items.stick)
			,new ItemStack(Items.coal));
		
		ender_water = new Item();
		ItemRegistry.registerItem(ender_water, "ender_water"); 
		GameRegistry.addShapelessRecipe(new ItemStack(ender_water,2)
			,new ItemStack(Items.blaze_rod)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Blocks.ice));
 
		ender_snow = new Item();
		ItemRegistry.registerItem(ender_snow, "ender_snow");
		GameRegistry.addShapelessRecipe(new ItemStack(ender_snow,4)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Blocks.ice)
			,new ItemStack(Items.snowball));
 
		ender_harvest = new Item();
		ItemRegistry.registerItem(ender_harvest, "ender_harvest");
		GameRegistry.addShapelessRecipe(new ItemStack(ender_harvest,4)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Items.wheat)
			,new ItemStack(Items.wheat_seeds));
		
		ender_lightning = new Item();
		ItemRegistry.registerItem(ender_lightning, "ender_lightning"); 
		GameRegistry.addShapelessRecipe(new ItemStack(ender_lightning,1)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Items.quartz)
			,new ItemStack(Items.ghast_tear)); 
	}
	
	public static void registerItem(Item item, String name)
	{ 
		 item.setUnlocalizedName(name);
		 item.setCreativeTab(ModProj.tabSamsContent);
		 
		 GameRegistry.registerItem(item, name);

		 items.add(item);
	}
}

package com.lothrazar.samsprojectiles;

import java.util.ArrayList;  

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

public class ItemRegistry 
{ 
	public static ArrayList<Item> items = new ArrayList<Item>();
    
	public static Item soulstone;
	public static Item ender_water;
	public static Item ender_snow;
	public static Item ender_harvest;
	public static Item ender_lightning;
	public static Item ender_torch;
  
	public static void registerItems()
	{   
		soulstone = new Item();
		ItemRegistry.registerItem(soulstone, "soulstone");
		GameRegistry.addShapelessRecipe(new ItemStack(soulstone,6)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Items.nether_wart)
			,new ItemStack(Items.ghast_tear));
 
		ender_torch = new Item();
		ItemRegistry.registerItem(ender_torch, "ender_torch");
		GameRegistry.addShapelessRecipe(new ItemStack(ender_torch,6)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Items.stick)
			,new ItemStack(Items.coal));
		
		ender_water = new Item();
		ItemRegistry.registerItem(ender_water, "ender_water"); 
		GameRegistry.addShapelessRecipe(new ItemStack(ender_water,2)
			,new ItemStack(Items.blaze_rod)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Blocks.ice));
 
		ender_snow = new Item();
		ItemRegistry.registerItem(ender_snow, "ender_snow");
		GameRegistry.addShapelessRecipe(new ItemStack(ender_snow,4)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Blocks.ice)
			,new ItemStack(Items.snowball));
 
		ender_harvest = new Item();
		ItemRegistry.registerItem(ender_harvest, "ender_harvest");
		GameRegistry.addShapelessRecipe(new ItemStack(ender_harvest,4)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Items.wheat)
			,new ItemStack(Items.wheat_seeds));
		
		ender_lightning = new Item();
		ItemRegistry.registerItem(ender_lightning, "ender_lightning"); 
		GameRegistry.addShapelessRecipe(new ItemStack(ender_lightning,1)
			,new ItemStack(Items.ender_pearl)
			,new ItemStack(Items.quartz)
			,new ItemStack(Items.ghast_tear)); 
	}
	
	public static void registerItem(Item item, String name)
	{ 
		 item.setUnlocalizedName(name);
		 item.setCreativeTab(ModProj.tabSamsContent);
		 
		 GameRegistry.registerItem(item, name);

		 items.add(item);
	}
}

add recipe for soulstone