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. |
recipeOutputItemID
public final int recipeOutputItemID
- Is the itemID of the output item that you get when craft the recipe.
ShapedRecipes
public ShapedRecipes(int par1,
int par2,
ItemStack[] par3ArrayOfItemStack,
ItemStack par4ItemStack)
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