Class SmithingRecipe

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

public class SmithingRecipe extends Object implements Recipe, Keyed
Represents a smithing recipe.
  • Constructor Details

  • Method Details

    • getBase

      @NotNull public RecipeChoice getBase()
      Get the base recipe item.
      Returns:
      base choice
    • getAddition

      @NotNull public RecipeChoice getAddition()
      Get the addition recipe item.
      Returns:
      addition choice
    • getResult

      @NotNull public ItemStack getResult()
      Description copied from interface: Recipe
      Get the result of this recipe.
      Specified by:
      getResult in interface Recipe
      Returns:
      The result stack
    • getKey

      @NotNull public NamespacedKey getKey()
      Description copied from interface: Keyed
      Return the namespaced identifier for this object.
      Specified by:
      getKey in interface Keyed
      Returns:
      this object's key