类 ImbueRecipe
java.lang.Object
org.bukkit.inventory.CraftingRecipe
org.bukkit.inventory.ImbueRecipe
- 所有已实现的接口:
ComplexRecipe,Recipe,Keyed
Represents a recipe which will take an
input surrounded by 8
material, with the source potion contents copied into the
result.-
构造器概要
构造器构造器说明ImbueRecipe(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, @NotNull RecipeChoice material) Create an imbue recipe to produce a result of the specified type.ImbueRecipe(@NotNull NamespacedKey key, @NotNull Material result, @NotNull RecipeChoice input, @NotNull RecipeChoice material) Create an imbue recipe to produce a result of the specified type. -
方法概要
修饰符和类型方法说明getInput()Gets the input material, which will be imbued.Gets the additional ingredients required to cause the imbuing.从类继承的方法 org.bukkit.inventory.CraftingRecipe
checkResult, getCategory, getGroup, getKey, getResult, setCategory, setGroup
-
构造器详细资料
-
ImbueRecipe
public ImbueRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull ItemStack result, @NotNull @NotNull RecipeChoice input, @NotNull @NotNull RecipeChoice material) Create an imbue recipe to produce a result of the specified type.- 参数:
key- the unique recipe keyresult- the imbued result iteminput- the input ingredientmaterial- the additional ingredient material
-
ImbueRecipe
public ImbueRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull Material result, @NotNull @NotNull RecipeChoice input, @NotNull @NotNull RecipeChoice material) Create an imbue recipe to produce a result of the specified type.- 参数:
key- the unique recipe keyresult- the imbued result materialinput- the input ingredientmaterial- the additional ingredient material
-
-
方法详细资料
-
getInput
Gets the input material, which will be imbued.- 返回:
- the input
-
getMaterial
Gets the additional ingredients required to cause the imbuing.- 返回:
- the imbuing material
-