net.minecraft.src
Class FurnaceRecipes

java.lang.Object
  extended by net.minecraft.src.FurnaceRecipes

public class FurnaceRecipes
extends Object


Method Summary
 void addSmelting(int itemID, int metadata, ItemStack itemstack)
          Add a metadata-sensitive furnace recipe
 void addSmelting(int par1, ItemStack par2ItemStack, float par3)
          Adds a smelting recipe.
 float getExperience(int par1)
           
 Map getSmeltingList()
           
 ItemStack getSmeltingResult(int par1)
          Deprecated. 
 ItemStack getSmeltingResult(ItemStack item)
          Used to get the resulting ItemStack form a source ItemStack
static FurnaceRecipes smelting()
          Used to call methods addSmelting and getSmeltingResult.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

smelting

public static final FurnaceRecipes smelting()
Used to call methods addSmelting and getSmeltingResult.


addSmelting

public void addSmelting(int par1,
                        ItemStack par2ItemStack,
                        float par3)
Adds a smelting recipe.


getSmeltingResult

@Deprecated
public ItemStack getSmeltingResult(int par1)
Deprecated. 

Returns the smelting result of an item. Deprecated in favor of a metadata sensitive version


getSmeltingList

public Map getSmeltingList()

getExperience

public float getExperience(int par1)

addSmelting

public void addSmelting(int itemID,
                        int metadata,
                        ItemStack itemstack)
Add a metadata-sensitive furnace recipe

Parameters:
itemID - The Item ID
metadata - The Item Metadata
itemstack - The ItemStack for the result

getSmeltingResult

public ItemStack getSmeltingResult(ItemStack item)
Used to get the resulting ItemStack form a source ItemStack

Parameters:
item - The Source ItemStack
Returns:
The result ItemStack