Interface CookingRecipe.Builder
- All Superinterfaces:
AbstractBuilder<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 ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptiontype(Supplier<RecipeType<CookingRecipe>> type) Sets the type of recipetype(RecipeType<CookingRecipe> type) Sets the type of recipeMethods inherited from interface net.kyori.adventure.builder.AbstractBuilder
buildMethods inherited from interface org.spongepowered.api.util.ResourceKeyedBuilder
key
-
Method Details
-
type
Sets the type of recipe- Parameters:
type- the type of recipe- Returns:
- This builder, for chaining
-
type
Sets the type of recipe- Parameters:
type- the type of recipe- Returns:
- This builder, for chaining
-