Interface CookingRecipe.Builder.EndStep
-
- All Superinterfaces:
AbstractBuilder<RecipeRegistration>
,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.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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CookingRecipe.Builder.EndStep
cookingTime(Ticks ticks)
Sets the cookingTime for this recipe in ticks.CookingRecipe.Builder.EndStep
experience(double experience)
Changes the experience and returns this builder.CookingRecipe.Builder.EndStep
group(@Nullable String name)
Sets the group of the recipe.-
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
-
group
CookingRecipe.Builder.EndStep group(@Nullable String name)
Sets the group of the recipe.- Parameters:
name
- the group- Returns:
- This builder, for chaining
-
experience
CookingRecipe.Builder.EndStep experience(double 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
CookingRecipe.Builder.EndStep cookingTime(Ticks ticks)
Sets the cookingTime for this recipe in ticks.- Parameters:
ticks
- the cookingTime- Returns:
- This builder, for chaining
-
-