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) |
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() |
NonNullList<ItemStack> |
getRemainingItems(InventoryCrafting inv) |
boolean |
matches(InventoryCrafting var1,
World world) |
@Nonnull 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(@Nonnull ItemStack result, java.lang.Object... recipe)
public int getRecipeSize()
getRecipeSize
in interface IRecipe
@Nonnull public ItemStack getRecipeOutput()
getRecipeOutput
in interface IRecipe
@Nonnull public ItemStack getCraftingResult(@Nonnull InventoryCrafting var1)
getCraftingResult
in interface IRecipe
public boolean matches(InventoryCrafting var1, World world)
public NonNullList<java.lang.Object> getInput()
@Nonnull public NonNullList<ItemStack> getRemainingItems(InventoryCrafting inv)
getRemainingItems
in interface IRecipe