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