net.minecraft.item.crafting
Class ShapelessRecipes
java.lang.Object
net.minecraft.item.crafting.ShapelessRecipes
- All Implemented Interfaces:
- IRecipe
public class ShapelessRecipes
- extends Object
- implements IRecipe
Field Summary |
List |
recipeItems
Is a List of ItemStack that composes the recipe. |
recipeItems
public final List recipeItems
- Is a List of ItemStack that composes the recipe.
ShapelessRecipes
public ShapelessRecipes(ItemStack par1ItemStack,
List par2List)
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