Interface CookingRecipe.Builder.ResultStep

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.ResultStep extends CookingRecipe.Builder
  • Method Details

    • result

      Changes the result and returns this builder. The result is the ItemType created when the recipe is fulfilled.
      Parameters:
      result - The output of this recipe
      Returns:
      This builder, for chaining
    • result

      default CookingRecipe.Builder.EndStep result(Supplier<? extends ItemType> result)
      Changes the result and returns this builder. The result is the ItemType created when the recipe is fulfilled.
      Parameters:
      result - The output of this recipe
      Returns:
      This builder, for chaining
    • result

      Changes the result and returns this builder. The result is the ItemStack created when the recipe is fulfilled.
      Parameters:
      result - The output of this recipe
      Returns:
      This builder, for chaining
    • result

      Changes the result and returns this builder. The result is the ItemStack created when the recipe is fulfilled.
      Parameters:
      result - The output of this recipe
      Returns:
      This builder, for chaining
    • result

      CookingRecipe.Builder.EndStep result(Function<Inventory,ItemStack> resultFunction, ItemStack exemplaryResult)
      Sets the result function and an exemplary result.
      Parameters:
      resultFunction - The result function
      exemplaryResult - The exemplary result stack
      Returns:
      The builder