YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.item.crafting.FurnaceRecipes Class Reference

Public Member Functions

void addSmelting (int par1, ItemStack par2ItemStack, float par3)
 
ItemStack getSmeltingResult (int par1)
 
Map getSmeltingList ()
 
float getExperience (int par1)
 
void addSmelting (int itemID, int metadata, ItemStack itemstack, float experience)
 
ItemStack getSmeltingResult (ItemStack item)
 
float getExperience (ItemStack item)
 
Map< List< Integer >, ItemStackgetMetaSmeltingList ()
 

Static Public Member Functions

static final FurnaceRecipes smelting ()
 

Member Function Documentation

void net.minecraft.item.crafting.FurnaceRecipes.addSmelting ( int  par1,
ItemStack  par2ItemStack,
float  par3 
)

Adds a smelting recipe.

void net.minecraft.item.crafting.FurnaceRecipes.addSmelting ( int  itemID,
int  metadata,
ItemStack  itemstack,
float  experience 
)

A metadata sensitive version of adding a furnace recipe.

float net.minecraft.item.crafting.FurnaceRecipes.getExperience ( int  par1)
float net.minecraft.item.crafting.FurnaceRecipes.getExperience ( ItemStack  item)

Grabs the amount of base experience for this item to give when pulled from the furnace slot.

Map<List<Integer>, ItemStack> net.minecraft.item.crafting.FurnaceRecipes.getMetaSmeltingList ( )
Map net.minecraft.item.crafting.FurnaceRecipes.getSmeltingList ( )
ItemStack net.minecraft.item.crafting.FurnaceRecipes.getSmeltingResult ( int  par1)

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

ItemStack net.minecraft.item.crafting.FurnaceRecipes.getSmeltingResult ( ItemStack  item)

Used to get the resulting ItemStack form a source ItemStack

Parameters
itemThe Source ItemStack
Returns
The result ItemStack
static final FurnaceRecipes net.minecraft.item.crafting.FurnaceRecipes.smelting ( )
static

Used to call methods addSmelting and getSmeltingResult.


The documentation for this class was generated from the following file: