Interface SmithingRecipe.Builder
-
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,Buildable.Builder<RecipeRegistration>
,Builder<RecipeRegistration,SmithingRecipe.Builder>
,ResettableBuilder<RecipeRegistration,SmithingRecipe.Builder>
,ResourceKeyedBuilder<RecipeRegistration,SmithingRecipe.Builder>
- All Known Subinterfaces:
SmithingRecipe.Builder.AdditionStep
,SmithingRecipe.Builder.EndStep
,SmithingRecipe.Builder.ResultStep
- Enclosing interface:
- SmithingRecipe
public static interface SmithingRecipe.Builder extends ResourceKeyedBuilder<RecipeRegistration,SmithingRecipe.Builder>
Builds a simple smithing recipe
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SmithingRecipe.Builder.AdditionStep
static interface
SmithingRecipe.Builder.EndStep
static interface
SmithingRecipe.Builder.ResultStep
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SmithingRecipe.Builder.AdditionStep
base(java.util.function.Supplier<? extends ItemType> ingredient)
Sets the base ingredient and returns this builder.SmithingRecipe.Builder.AdditionStep
base(ItemType ingredient)
Sets the base ingredient and returns this builder.SmithingRecipe.Builder.AdditionStep
base(Ingredient ingredient)
Sets the base 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
-
-
-
-
Method Detail
-
base
SmithingRecipe.Builder.AdditionStep base(ItemType ingredient)
Sets the base ingredient and returns this builder.- Parameters:
ingredient
- The ingredient- Returns:
- This builder, for chaining
-
base
default SmithingRecipe.Builder.AdditionStep base(java.util.function.Supplier<? extends ItemType> ingredient)
Sets the base ingredient and returns this builder.- Parameters:
ingredient
- The ingredient- Returns:
- This builder, for chaining
-
base
SmithingRecipe.Builder.AdditionStep base(Ingredient ingredient)
Sets the base ingredient and returns this builder.- Parameters:
ingredient
- The ingredient- Returns:
- This builder, for chaining
-
-