Interface SmithingRecipe
- All Superinterfaces:
Recipe<RecipeInput.Smithing>
A Smithing Recipe.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Builds a simple smithing recipe -
Method Summary
Modifier and TypeMethodDescriptionReturns the additionalIngredient
for thisSmithingRecipe
.Returns the baseIngredient
for thisSmithingRecipe
.static SmithingRecipe.Builder
builder()
Returns the smithing templateIngredient
for thisSmithingRecipe
.RecipeType
<? extends SmithingRecipe> type()
Gets theRecipeType
of this recipe.Methods inherited from interface org.spongepowered.api.item.recipe.Recipe
exemplaryResult, isDynamic, isValid, remainingItems, result, result
-
Method Details
-
builder
-
templateIngredient
Optional<Ingredient> templateIngredient()Returns the smithing templateIngredient
for thisSmithingRecipe
.- Returns:
- The smithing template
Ingredient
for thisSmithingRecipe
.
-
baseIngredient
Optional<Ingredient> baseIngredient()Returns the baseIngredient
for thisSmithingRecipe
.- Returns:
- The base
Ingredient
for thisSmithingRecipe
.
-
additionalIngredient
Optional<Ingredient> additionalIngredient()Returns the additionalIngredient
for thisSmithingRecipe
.- Returns:
- The additional
Ingredient
for thisSmithingRecipe
.
-
type
RecipeType<? extends SmithingRecipe> type()Description copied from interface:Recipe
Gets theRecipeType
of this recipe.- Specified by:
type
in interfaceRecipe<RecipeInput.Smithing>
- Returns:
- The recipe type.
-