Package org.bukkit.inventory
Class SmithingTrimRecipe
java.lang.Object
org.bukkit.inventory.SmithingRecipe
org.bukkit.inventory.SmithingTrimRecipe
- All Implemented Interfaces:
- ComplexRecipe,- Recipe,- Keyed
Represents a smithing trim recipe.
- 
Constructor SummaryConstructorsConstructorDescriptionSmithingTrimRecipe(NamespacedKey key, RecipeChoice template, RecipeChoice base, RecipeChoice addition) Create a smithing recipe to produce the specified result ItemStack.
- 
Method SummaryMethods inherited from class org.bukkit.inventory.SmithingRecipegetAddition, getBase, getKey, getResult
- 
Constructor Details- 
SmithingTrimRecipepublic 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- 
getTemplateGet the template recipe item.- Returns:
- template choice
 
 
-