Package org.bukkit.inventory
Class SmithingRecipe
java.lang.Object
org.bukkit.inventory.SmithingRecipe
Represents a smithing recipe.
- 
Constructor SummaryConstructorsConstructorDescriptionSmithingRecipe(NamespacedKey key, ItemStack result, RecipeChoice base, RecipeChoice addition) Create a smithing recipe to produce the specified result ItemStack.
- 
Method Summary
- 
Constructor Details- 
SmithingRecipepublic SmithingRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @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.
- base- The base ingredient
- addition- The addition ingredient
 
 
- 
- 
Method Details- 
getBaseGet the base recipe item.- Returns:
- base choice
 
- 
getAdditionGet the addition recipe item.- Returns:
- addition choice
 
- 
getResultDescription copied from interface:RecipeGet the result of this recipe.
- 
getKeyDescription copied from interface:KeyedReturn the namespaced identifier for this object.
 
-