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>
  • Method Details

    • 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

      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