Interface CookingRecipe.Builder
-
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,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 interface
CookingRecipe.Builder.EndStep
static interface
CookingRecipe.Builder.IngredientStep
static interface
CookingRecipe.Builder.ResultStep
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CookingRecipe.Builder.IngredientStep
type(java.util.function.Supplier<RecipeType<CookingRecipe>> type)
Sets the type of recipeCookingRecipe.Builder.IngredientStep
type(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(java.util.function.Supplier<RecipeType<CookingRecipe>> type)
Sets the type of recipe- Parameters:
type
- the type of recipe- Returns:
- This builder, for chaining
-
-