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