YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.item.crafting.ShapedRecipes Class Reference
Inheritance diagram for net.minecraft.item.crafting.ShapedRecipes:
net.minecraft.item.crafting.IRecipe net.minecraft.item.crafting.RecipesMapExtending

Public Member Functions

 ShapedRecipes (int par1, int par2, ItemStack[] par3ArrayOfItemStack, ItemStack par4ItemStack)
 
ItemStack getRecipeOutput ()
 
boolean matches (InventoryCrafting par1InventoryCrafting, World par2World)
 
ItemStack getCraftingResult (InventoryCrafting par1InventoryCrafting)
 
int getRecipeSize ()
 
ShapedRecipes func_92100_c ()
 

Public Attributes

final int recipeWidth
 
final int recipeHeight
 
final ItemStack[] recipeItems
 
final int recipeOutputItemID
 

Constructor & Destructor Documentation

net.minecraft.item.crafting.ShapedRecipes.ShapedRecipes ( int  par1,
int  par2,
ItemStack[]  par3ArrayOfItemStack,
ItemStack  par4ItemStack 
)

Member Function Documentation

ShapedRecipes net.minecraft.item.crafting.ShapedRecipes.func_92100_c ( )
ItemStack net.minecraft.item.crafting.ShapedRecipes.getCraftingResult ( InventoryCrafting  par1InventoryCrafting)

Returns an Item that is the result of this recipe

Implements net.minecraft.item.crafting.IRecipe.

ItemStack net.minecraft.item.crafting.ShapedRecipes.getRecipeOutput ( )
int net.minecraft.item.crafting.ShapedRecipes.getRecipeSize ( )

Returns the size of the recipe area

Implements net.minecraft.item.crafting.IRecipe.

boolean net.minecraft.item.crafting.ShapedRecipes.matches ( InventoryCrafting  par1InventoryCrafting,
World  par2World 
)

Used to check if a recipe matches current crafting inventory

Implements net.minecraft.item.crafting.IRecipe.

Member Data Documentation

final int net.minecraft.item.crafting.ShapedRecipes.recipeHeight

How many vertical slots this recipe uses.

final ItemStack [] net.minecraft.item.crafting.ShapedRecipes.recipeItems

Is a array of ItemStack that composes the recipe.

final int net.minecraft.item.crafting.ShapedRecipes.recipeOutputItemID

Is the itemID of the output item that you get when craft the recipe.

final int net.minecraft.item.crafting.ShapedRecipes.recipeWidth

How many horizontal slots this recipe is wide.


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