Interface CookingRecipe.Builder
-
- All Superinterfaces:
Buildable.Builder<RecipeRegistration>,Builder<RecipeRegistration,CookingRecipe.Builder>,ResettableBuilder<RecipeRegistration,CookingRecipe.Builder>,ResourceKeyedBuilder<RecipeRegistration,CookingRecipe.Builder>
- All Known Subinterfaces:
CookingRecipe.Builder.EndStep,CookingRecipe.Builder.IngredientStep,CookingRecipe.Builder.ResultStep
- Enclosing interface:
- CookingRecipe
public static interface CookingRecipe.Builder extends ResourceKeyedBuilder<RecipeRegistration,CookingRecipe.Builder>
Builds a simple furnace recipe.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCookingRecipe.Builder.EndStepstatic interfaceCookingRecipe.Builder.IngredientStepstatic interfaceCookingRecipe.Builder.ResultStep
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CookingRecipe.Builder.IngredientSteptype(Supplier<RecipeType<CookingRecipe>> type)Sets the type of recipeCookingRecipe.Builder.IngredientSteptype(RecipeType<CookingRecipe> type)Sets the type of recipe-
Methods inherited from interface net.kyori.adventure.util.Buildable.Builder
build
-
Methods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
-
-
-
Method Detail
-
type
CookingRecipe.Builder.IngredientStep type(RecipeType<CookingRecipe> type)
Sets the type of recipe- Parameters:
type- the type of recipe- Returns:
- This builder, for chaining
-
type
default CookingRecipe.Builder.IngredientStep type(Supplier<RecipeType<CookingRecipe>> type)
Sets the type of recipe- Parameters:
type- the type of recipe- Returns:
- This builder, for chaining
-
-