类的使用
org.bukkit.inventory.ShapelessRecipe
使用ShapelessRecipe的程序包
-
org.bukkit.inventory中ShapelessRecipe的使用
修饰符和类型方法说明ShapelessRecipe.addIngredient
(int count, Material ingredient) Adds multiples of the specified ingredient.ShapelessRecipe.addIngredient
(int count, MaterialData ingredient) Adds multiples of the specified ingredient.ShapelessRecipe.addIngredient
(int count, Material ingredient, int rawdata) 已过时。Magic valueShapelessRecipe.addIngredient
(Material ingredient) Adds the specified ingredient.ShapelessRecipe.addIngredient
(MaterialData ingredient) Adds the specified ingredient.ShapelessRecipe.addIngredient
(Material ingredient, int rawdata) 已过时。Magic valueShapelessRecipe.removeIngredient
(int count, Material ingredient) Removes multiple instances of an ingredient from the list.ShapelessRecipe.removeIngredient
(int count, MaterialData ingredient) Removes multiple instances of an ingredient from the list.ShapelessRecipe.removeIngredient
(int count, Material ingredient, int rawdata) 已过时。Magic valueShapelessRecipe.removeIngredient
(Material ingredient) Removes an ingredient from the list.ShapelessRecipe.removeIngredient
(MaterialData ingredient) Removes an ingredient from the list.ShapelessRecipe.removeIngredient
(Material ingredient, int rawdata) 已过时。Magic value