类 SmithingTrimRecipe
java.lang.Object
org.bukkit.inventory.SmithingRecipe
org.bukkit.inventory.SmithingTrimRecipe
- 所有已实现的接口:
ComplexRecipe
,Recipe
,Keyed
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. -
方法概要
从类继承的方法 org.bukkit.inventory.SmithingRecipe
getAddition, getBase, getKey, 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 keytemplate
- The template item.base
- The base ingredientaddition
- The addition ingredient
-
-
方法详细资料
-
getTemplate
Get the template recipe item.- 返回:
- template choice
-