类 SmithingTransformRecipe
java.lang.Object
org.bukkit.inventory.SmithingRecipe
org.bukkit.inventory.SmithingTransformRecipe
Represents a smithing transform recipe.
-
构造器概要
构造器说明SmithingTransformRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @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
-
构造器详细资料
-
SmithingTransformRecipe
public SmithingTransformRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull ItemStack result, @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 keyresult
- The item you want the recipe to create.template
- The template item.base
- The base ingredientaddition
- The addition ingredient
-
-
方法详细资料
-
getTemplate
Get the template recipe item.- 返回:
- template choice
-