Interface CookingRecipe.Builder.EndStep
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,Builder<RecipeRegistration,
,CookingRecipe.Builder> CookingRecipe.Builder
,ResettableBuilder<RecipeRegistration,
,CookingRecipe.Builder> ResourceKeyedBuilder<RecipeRegistration,
CookingRecipe.Builder>
- Enclosing interface:
- CookingRecipe.Builder
public static interface CookingRecipe.Builder.EndStep
extends CookingRecipe.Builder, Builder<RecipeRegistration,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
Modifier and TypeMethodDescriptioncookingTime
(Ticks ticks) Sets the cookingTime for this recipe in ticks.experience
(double experience) Changes the experience and returns this builder.Sets the group of the recipe.pack
(DataPack<RecipeRegistration> pack) Sets the data pack for the recipe.Methods inherited from interface net.kyori.adventure.builder.AbstractBuilder
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 Details
-
group
Sets the group of the recipe.- Parameters:
name
- the group- Returns:
- This builder, for chaining
-
experience
Changes the experience and returns this builder.- Parameters:
experience
- The amount of experience released when this recipe is completed- Returns:
- This builder, for chaining
-
cookingTime
Sets the cookingTime for this recipe in ticks.- Parameters:
ticks
- the cookingTime- Returns:
- This builder, for chaining
-
pack
Sets the data pack for the recipe.- Parameters:
pack
- The data pack- Returns:
- This builder, for chaining
-