类的使用
org.bukkit.inventory.CraftingRecipe
使用CraftingRecipe的程序包
-
org.bukkit.event.block中CraftingRecipe的使用
参数类型为CraftingRecipe的org.bukkit.event.block中的构造器限定符构造器说明CrafterCraftEvent(@NotNull Block theBlock, @NotNull CraftingRecipe recipe, @NotNull ItemStack result) 已过时。CrafterCraftEvent(@NotNull Block theBlock, @NotNull CraftingRecipe recipe, @NotNull ItemStack result, @NotNull List<ItemStack> remainingItems) -
org.bukkit.inventory中CraftingRecipe的使用
修饰符和类型类说明classRepresents a recipe which will mix the dye color from theinputwith the dye color from the dyematerialinto theresultbut with the mixed dye color.classRepresents a recipe which will take aninputsurrounded by 8material, with thesourcepotion contents copied into theresult.class代表一个有序(即普通的)合成配方。class代表一个无序配方,即成分在合成网格中的排列无关紧要。class代表一种配方,当与额外材料结合时会改变输入材料的类型,但保留所有自定义数据。