枚举的使用
org.bukkit.inventory.recipe.CraftingBookCategory
程序包
说明
参与操作玩家物品栏和物品交互的类.
New location for recipe-related classes.
-
org.bukkit.inventory中CraftingBookCategory的使用
修饰符和类型方法说明CraftingRecipe.getCategory()
Gets the category which this recipe will appear in the recipe book under.修饰符和类型方法说明void
CraftingRecipe.setCategory
(@NotNull CraftingBookCategory category) Sets the category which this recipe will appear in the recipe book under. -
org.bukkit.inventory.recipe中CraftingBookCategory的使用
修饰符和类型方法说明static CraftingBookCategory
返回带有指定名称的该类型的枚举常量。static CraftingBookCategory[]
CraftingBookCategory.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。