Interface SmithingRecipe.Builder.ResultStep

All Superinterfaces:
AbstractBuilder<RecipeRegistration>, Builder<RecipeRegistration,SmithingRecipe.Builder>, ResettableBuilder<RecipeRegistration,SmithingRecipe.Builder>, ResourceKeyedBuilder<RecipeRegistration,SmithingRecipe.Builder>, SmithingRecipe.Builder
Enclosing interface:
SmithingRecipe.Builder

public static interface SmithingRecipe.Builder.ResultStep extends SmithingRecipe.Builder
  • Method Details

    • 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

      SmithingRecipe.Builder.EndStep result(Function<Inventory,ItemStack> resultFunction, ItemStack exemplaryResult)
      Changes the result and returns this builder. The result is the ItemStack created when the recipe is fulfilled.
      Parameters:
      resultFunction - The result function
      exemplaryResult - The exemplary output of this recipe
      Returns:
      This builder, for chaining