public class ShapelessOreRecipe extends Object implements IRecipe
| Constructor and Description |
|---|
ShapelessOreRecipe(Block result,
Object... recipe) |
ShapelessOreRecipe(Item result,
Object... recipe) |
ShapelessOreRecipe(ItemStack result,
Object... recipe) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
getCraftingResult(InventoryCrafting var1)
Returns an Item that is the result of this recipe
|
ArrayList |
getInput()
Returns the input for this recipe, any mod accessing this value should never
manipulate the values in this array as it will effect the recipe itself.
|
ItemStack |
getRecipeOutput() |
int |
getRecipeSize()
Returns the size of the recipe area
|
boolean |
matches(InventoryCrafting var1,
World world)
Used to check if a recipe matches current crafting inventory
|
public ShapelessOreRecipe(Block result, Object... recipe)
public ShapelessOreRecipe(Item result, Object... recipe)
public ShapelessOreRecipe(ItemStack result, Object... recipe)
public int getRecipeSize()
IRecipegetRecipeSize in interface IRecipepublic ItemStack getRecipeOutput()
getRecipeOutput in interface IRecipepublic ItemStack getCraftingResult(InventoryCrafting var1)
IRecipegetCraftingResult in interface IRecipepublic boolean matches(InventoryCrafting var1, World world)
IRecipe