Class SmithingTransformRecipe

java.lang.Object
org.bukkit.inventory.SmithingRecipe
org.bukkit.inventory.SmithingTransformRecipe
All Implemented Interfaces:
Recipe, Keyed

public class SmithingTransformRecipe extends SmithingRecipe
Represents a smithing transform recipe.
  • Constructor Details

    • SmithingTransformRecipe

      public SmithingTransformRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition)
      Create a smithing recipe to produce the specified result ItemStack.
      Parameters:
      key - The unique recipe key
      result - The item you want the recipe to create.
      template - The template item.
      base - The base ingredient
      addition - The addition ingredient
  • Method Details

    • getTemplate

      @NotNull public RecipeChoice getTemplate()
      Get the template recipe item.
      Returns:
      template choice