public interface SmeltingRecipe extends Recipe
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<Item> |
getCraftingResult(Item input)
Calculates the crafting result for the given crafting grid.
|
default java.util.Collection<Item> |
getExampleInput()
Gets an example input for this recipe.
|
default java.util.Optional<Item> |
getExampleOutput()
Gets an example output for this recipe.
|
java.util.Optional<ItemIngredient> |
getInput()
Gets the input for this recipe.
|
boolean |
matches(Item input)
Checks if this crafting recipe matches the content of the given smelting input.
|
boolean matches(Item input)
input - smelting input to read fromjava.util.Optional<Item> getCraftingResult(Item input)
input - crafting griddefault java.util.Collection<Item> getExampleInput()
default java.util.Optional<Item> getExampleOutput()
java.util.Optional<ItemIngredient> getInput()