Class SmithingTrimRecipe

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

public class SmithingTrimRecipe extends SmithingRecipe implements ComplexRecipe
Represents a smithing trim recipe.
  • Constructor Details

    • SmithingTrimRecipe

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

    • getTemplate

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