Constructor and Description |
---|
ShapedOreRecipe(Block result,
Object... recipe) |
ShapedOreRecipe(Item result,
Object... recipe) |
ShapedOreRecipe(ItemStack result,
Object... recipe) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
getCraftingResult(InventoryCrafting var1)
Returns an Item that is the result of this recipe
|
Object[] |
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 inv,
World world)
Used to check if a recipe matches current crafting inventory
|
ShapedOreRecipe |
setMirrored(boolean mirror) |
public ItemStack getCraftingResult(InventoryCrafting var1)
IRecipe
getCraftingResult
in interface IRecipe
public int getRecipeSize()
IRecipe
getRecipeSize
in interface IRecipe
public ItemStack getRecipeOutput()
getRecipeOutput
in interface IRecipe
public boolean matches(InventoryCrafting inv, World world)
IRecipe
public ShapedOreRecipe setMirrored(boolean mirror)
public Object[] getInput()