Class SmithingRecipe

  • All Implemented Interfaces:
    Recipe, Keyed

    public class SmithingRecipe
    extends Object
    implements Recipe, Keyed
    Represents a smithing recipe.
    • Method Detail

      • 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