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 interfaceStoneCutterRecipe.Builder.EndStepstatic interfaceStoneCutterRecipe.Builder.ResultStep
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StoneCutterRecipe.Builder.ResultStepingredient(Supplier<? extends ItemType> ingredient)Sets the ingredient and returns this builder.StoneCutterRecipe.Builder.ResultStepingredient(ItemType ingredient)Sets the ingredient and returns this builder.StoneCutterRecipe.Builder.ResultStepingredient(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(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
-
-