Package org.bukkit.inventory
Class SmithingTrimRecipe
java.lang.Object
org.bukkit.inventory.SmithingRecipe
org.bukkit.inventory.SmithingTrimRecipe
- All Implemented Interfaces:
- net.kyori.adventure.key.Keyed,- ComplexRecipe,- Recipe,- Keyed
Represents a smithing trim recipe.
- 
Constructor SummaryConstructorsConstructorDescriptionSmithingTrimRecipe(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition) Create a smithing recipe to produce the specified result ItemStack.SmithingTrimRecipe(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition, boolean copyNbt) Create a smithing recipe to produce the specified result ItemStack.
- 
Method SummaryModifier and TypeMethodDescriptionGet the template recipe item.Methods inherited from class org.bukkit.inventory.SmithingRecipegetAddition, getBase, getKey, getResult, willCopyNbt
- 
Constructor Details- 
SmithingTrimRecipepublic SmithingTrimRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull RecipeChoice template, @NotNull @NotNull RecipeChoice base, @NotNull @NotNull 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
 
- 
SmithingTrimRecipepublic SmithingTrimRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull RecipeChoice template, @NotNull @NotNull RecipeChoice base, @NotNull @NotNull RecipeChoice addition, boolean copyNbt) 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
- copyNbt- whether to copy the nbt from the input base item to the output
 
 
- 
- 
Method Details- 
getTemplateGet the template recipe item.- Returns:
- template choice
 
 
-