接口的使用
org.bukkit.inventory.RecipeChoice
-
org.bukkit.inventory中RecipeChoice的使用
修饰符和类型类说明static class
Represents a choice that will be valid only if one of the stacks is exactly matched (aside from stack size).static class
Represents a choice of multiple matching Materials.修饰符和类型方法说明RecipeChoice.clone()
SmithingRecipe.getAddition()
Get the addition recipe item.SmithingRecipe.getBase()
Get the base recipe item.CookingRecipe.getInputChoice()
Get the input choice.StonecuttingRecipe.getInputChoice()
Get the input choice.SmithingTransformRecipe.getTemplate()
Get the template recipe item.SmithingTrimRecipe.getTemplate()
Get the template recipe item.修饰符和类型方法说明ShapelessRecipe.getChoiceList()
ShapedRecipe.getChoiceMap()
Get a copy of the choice map.修饰符和类型方法说明ShapelessRecipe.addIngredient
(@NotNull RecipeChoice ingredient) ShapelessRecipe.removeIngredient
(@NotNull RecipeChoice ingredient) Removes an ingredient from the list.ShapedRecipe.setIngredient
(char key, @NotNull RecipeChoice ingredient) Sets theRecipeChoice
that a character in the recipe shape refers to.CookingRecipe.setInputChoice
(@NotNull RecipeChoice input) Sets the input of this cooking recipe.FurnaceRecipe.setInputChoice
(@NotNull RecipeChoice input) StonecuttingRecipe.setInputChoice
(@NotNull RecipeChoice input) Sets the input of this cooking recipe.限定符构造器说明BlastingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) CampfireRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) CookingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) Create a cooking recipe to craft the specified ItemStack.FurnaceRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) Create a furnace recipe to craft the specified ItemStack.SmithingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice base, @NotNull RecipeChoice addition) 已过时。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.SmithingTrimRecipe
(@NotNull NamespacedKey key, @NotNull RecipeChoice template, @NotNull RecipeChoice base, @NotNull RecipeChoice addition) Create a smithing recipe to produce the specified result ItemStack.SmokingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input, float experience, int cookingTime) StonecuttingRecipe
(@NotNull NamespacedKey key, @NotNull ItemStack result, @NotNull RecipeChoice input) Create a cooking recipe to craft the specified ItemStack.
SmithingTransformRecipe
andSmithingTrimRecipe
.