程序包 org.bukkit.inventory

# 类 SmithingTrimRecipe

java.lang.Object
org.bukkit.inventory.SmithingRecipe
org.bukkit.inventory.SmithingTrimRecipe

所有已实现的接口:
  `ComplexRecipe`, `Recipe`, `Keyed`

public class SmithingTrimRecipe extends SmithingRecipe implements ComplexRecipe
Represents a smithing trim recipe.

- ## 构造器概要

  构造器
  构造器
  说明
  `SmithingTrimRecipe(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition)`
  Create a smithing recipe to produce the specified result ItemStack.

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull RecipeChoice`
  `getTemplate()`
  Get the template recipe item.

  ### 从类继承的方法 org.bukkit.inventory.SmithingRecipe

  `getAddition, getBase, getKey, getResult`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### 从接口继承的方法 org.bukkit.Keyed

  `getKey`

  ### 从接口继承的方法 org.bukkit.inventory.Recipe

  `getResult`

- ## 构造器详细资料

  - ### SmithingTrimRecipe

    public 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.
    参数:
      `key` - The unique recipe key
      `template` - The template item.
      `base` - The base ingredient
      `addition` - The addition ingredient

- ## 方法详细资料

  - ### getTemplate

    @NotNull public @NotNull RecipeChoice getTemplate()
    Get the template recipe item.
    返回:
      template choice