Constructor and Description |
---|
ShapedOreRecipe(Block result,
java.lang.Object... recipe) |
ShapedOreRecipe(Item result,
java.lang.Object... recipe) |
ShapedOreRecipe(ItemStack result,
java.lang.Object... recipe) |
Modifier and Type | Method and Description |
---|---|
ItemStack |
getCraftingResult(InventoryCrafting var1) |
java.lang.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() |
ItemStack[] |
getRemainingItems(InventoryCrafting inv) |
boolean |
matches(InventoryCrafting inv,
World world) |
ShapedOreRecipe |
setMirrored(boolean mirror) |
public ShapedOreRecipe(Block result, java.lang.Object... recipe)
public ShapedOreRecipe(Item result, java.lang.Object... recipe)
public ShapedOreRecipe(ItemStack result, java.lang.Object... recipe)
public ItemStack getCraftingResult(InventoryCrafting var1)
getCraftingResult
in interface IRecipe
public int getRecipeSize()
getRecipeSize
in interface IRecipe
public ItemStack getRecipeOutput()
getRecipeOutput
in interface IRecipe
public boolean matches(InventoryCrafting inv, World world)
public ShapedOreRecipe setMirrored(boolean mirror)
public java.lang.Object[] getInput()
public ItemStack[] getRemainingItems(InventoryCrafting inv)
getRemainingItems
in interface IRecipe