Interface SmithingRecipe.Builder.AdditionStep
-
- All Superinterfaces:
Buildable.Builder<RecipeRegistration>
,Builder<RecipeRegistration,SmithingRecipe.Builder>
,ResettableBuilder<RecipeRegistration,SmithingRecipe.Builder>
,ResourceKeyedBuilder<RecipeRegistration,SmithingRecipe.Builder>
,SmithingRecipe.Builder
- Enclosing interface:
- SmithingRecipe.Builder
public static interface SmithingRecipe.Builder.AdditionStep extends SmithingRecipe.Builder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.item.recipe.smithing.SmithingRecipe.Builder
SmithingRecipe.Builder.AdditionStep, SmithingRecipe.Builder.EndStep, SmithingRecipe.Builder.ResultStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SmithingRecipe.Builder.ResultStep
addition(Supplier<? extends ItemType> ingredient)
Sets the additional ingredient and returns this builder.SmithingRecipe.Builder.ResultStep
addition(ItemType ingredient)
Sets the additional ingredient and returns this builder.SmithingRecipe.Builder.ResultStep
addition(Ingredient ingredient)
Sets the additional ingredient and returns this builder.-
Methods inherited from interface net.kyori.adventure.util.Buildable.Builder
build
-
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Methods inherited from interface org.spongepowered.api.item.recipe.smithing.SmithingRecipe.Builder
base, base, base
-
-
-
-
Method Detail
-
addition
SmithingRecipe.Builder.ResultStep addition(ItemType ingredient)
Sets the additional ingredient and returns this builder.- Parameters:
ingredient
- The ingredient- Returns:
- This builder, for chaining
-
addition
default SmithingRecipe.Builder.ResultStep addition(Supplier<? extends ItemType> ingredient)
Sets the additional ingredient and returns this builder.- Parameters:
ingredient
- The ingredient- Returns:
- This builder, for chaining
-
addition
SmithingRecipe.Builder.ResultStep addition(Ingredient ingredient)
Sets the additional ingredient and returns this builder.- Parameters:
ingredient
- The ingredient- Returns:
- This builder, for chaining
-
-