public class ShapedOreRecipe extends Object implements IRecipe
| 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 ShapedOreRecipe(Block result, Object... recipe)
public ShapedOreRecipe(Item result, Object... recipe)
public ShapedOreRecipe(ItemStack result, Object... recipe)
public ItemStack getCraftingResult(InventoryCrafting var1)
IRecipegetCraftingResult in interface IRecipepublic int getRecipeSize()
IRecipegetRecipeSize in interface IRecipepublic ItemStack getRecipeOutput()
getRecipeOutput in interface IRecipepublic boolean matches(InventoryCrafting inv, World world)
IRecipepublic ShapedOreRecipe setMirrored(boolean mirror)