Interface CookingRecipe.Builder.IngredientStep
-
- All Superinterfaces:
Buildable.Builder<RecipeRegistration>
,Builder<RecipeRegistration,CookingRecipe.Builder>
,CookingRecipe.Builder
,ResettableBuilder<RecipeRegistration,CookingRecipe.Builder>
,ResourceKeyedBuilder<RecipeRegistration,CookingRecipe.Builder>
- Enclosing interface:
- CookingRecipe.Builder
public static interface CookingRecipe.Builder.IngredientStep extends CookingRecipe.Builder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.spongepowered.api.item.recipe.cooking.CookingRecipe.Builder
CookingRecipe.Builder.EndStep, CookingRecipe.Builder.IngredientStep, CookingRecipe.Builder.ResultStep
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CookingRecipe.Builder.ResultStep
ingredient(Supplier<? extends ItemType> ingredient)
Changes the ingredient and returns this builder.default CookingRecipe.Builder.ResultStep
ingredient(ItemType ingredient)
Changes the ingredient and returns this builder.CookingRecipe.Builder.ResultStep
ingredient(Ingredient ingredient)
Changes the ingredient and returns this builder.-
Methods inherited from interface net.kyori.adventure.util.Buildable.Builder
build
-
Methods inherited from interface org.spongepowered.api.item.recipe.cooking.CookingRecipe.Builder
type, type
-
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
-
-
-
Method Detail
-
ingredient
CookingRecipe.Builder.ResultStep ingredient(Ingredient ingredient)
Changes the ingredient and returns this builder. TheIngredient
required in order for the recipe to be fulfilled.- Parameters:
ingredient
- The required ingredient- Returns:
- This builder, for chaining
-
ingredient
default CookingRecipe.Builder.ResultStep ingredient(ItemType ingredient)
Changes the ingredient and returns this builder. TheIngredient
required in order for the recipe to be fulfilled.- Parameters:
ingredient
- The required ingredient- Returns:
- This builder, for chaining
-
ingredient
default CookingRecipe.Builder.ResultStep ingredient(Supplier<? extends ItemType> ingredient)
Changes the ingredient and returns this builder. TheIngredient
required in order for the recipe to be fulfilled.- Parameters:
ingredient
- The required ingredient- Returns:
- This builder, for chaining
-
-