Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.minecraft.src
Class ShapedRecipes

    java.lang.Object
      net.minecraft.src.ShapedRecipes

All Implemented Interfaces:
  IRecipe

Direct Known Subclasses:
  RecipesMapExtending

    public class ShapedRecipes

extends Object
implements IRecipe

Field Summary
`int` | `recipeOutputItemID` Is the itemID of the output item that you get when craft the recipe.

Constructor Summary
`ShapedRecipes(int par1, int par2, ItemStack[] par3ArrayOfItemStack, ItemStack par4ItemStack)`

Method Summary
`ItemStack` | `getCraftingResult(InventoryCrafting par1InventoryCrafting)` Returns an Item that is the result of this recipe
`ItemStack` | `getRecipeOutput()`
`int` | `getRecipeSize()` Returns the size of the recipe area
`boolean` | `matches(InventoryCrafting par1InventoryCrafting, World par2World)` Used to check if a recipe matches current crafting inventory

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### recipeOutputItemID

    public final int recipeOutputItemID

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

Constructor Detail

### ShapedRecipes

    public ShapedRecipes(int par1,
                         int par2,
                         ItemStack[] par3ArrayOfItemStack,
                         ItemStack par4ItemStack)

Method Detail

### getRecipeOutput

    public ItemStack getRecipeOutput()

  Specified by:
    `getRecipeOutput` in interface `IRecipe`

### matches

    public boolean matches(InventoryCrafting par1InventoryCrafting,
                           World par2World)

  Used to check if a recipe matches current crafting inventory

  Specified by:
    `matches` in interface `IRecipe`

### getCraftingResult

    public ItemStack getCraftingResult(InventoryCrafting par1InventoryCrafting)

  Returns an Item that is the result of this recipe

  Specified by:
    `getCraftingResult` in interface `IRecipe`

### getRecipeSize

    public int getRecipeSize()

  Returns the size of the recipe area

  Specified by:
    `getRecipeSize` in interface `IRecipe`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD