| Modifier and Type | Field and Description |
|---|---|
protected NonNullList<java.lang.Object> |
input |
protected ItemStack |
output |
| Constructor and Description |
|---|
ShapelessOreRecipe(Block result,
java.lang.Object... recipe) |
ShapelessOreRecipe(Item result,
java.lang.Object... recipe) |
ShapelessOreRecipe(ItemStack result,
java.lang.Object... recipe) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
getCraftingResult(InventoryCrafting var1)
Returns an Item that is the result of this recipe
|
NonNullList<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()
Returns the size of the recipe area
|
NonNullList<ItemStack> |
getRemainingItems(InventoryCrafting inv) |
boolean |
matches(InventoryCrafting var1,
World world)
Used to check if a recipe matches current crafting inventory
|
protected ItemStack output
protected NonNullList<java.lang.Object> input
public ShapelessOreRecipe(Block result, java.lang.Object... recipe)
public ShapelessOreRecipe(Item result, java.lang.Object... recipe)
public ShapelessOreRecipe(ItemStack result, java.lang.Object... recipe)
public int getRecipeSize()
getRecipeSize in interface IRecipepublic ItemStack getRecipeOutput()
getRecipeOutput in interface IRecipepublic ItemStack getCraftingResult(InventoryCrafting var1)
getCraftingResult in interface IRecipepublic boolean matches(InventoryCrafting var1, World world)
public NonNullList<java.lang.Object> getInput()
public NonNullList<ItemStack> getRemainingItems(InventoryCrafting inv)
getRemainingItems in interface IRecipe