类的使用
org.bukkit.inventory.ShapedRecipe
使用ShapedRecipe的程序包
-
org.bukkit.inventory中ShapedRecipe的使用
修饰符和类型方法说明ShapedRecipe.setIngredient(char key, @NotNull RecipeChoice ingredient) 设置配方形状中某个字符代表的材料。ShapedRecipe.setIngredient(char key, @NotNull Material ingredient) 设置配方形状中某个字符代表的材料。ShapedRecipe.setIngredient(char key, @NotNull MaterialData ingredient) 设置配方形状中某个字符引用的RecipeChoice。ShapedRecipe.setIngredient(char key, @NotNull Material ingredient, int raw) 已过时。魔法值。设置此配方的形状为指定的行。