枚举的使用
org.bukkit.event.player.PlayerRecipeBookSettingsChangeEvent.RecipeBookType
-
org.bukkit.event.player中PlayerRecipeBookSettingsChangeEvent.RecipeBookType的使用
修饰符和类型方法说明PlayerRecipeBookSettingsChangeEvent.getRecipeBookType()
Gets the type of recipe book the player is changing the settings for.返回带有指定名称的该类型的枚举常量。PlayerRecipeBookSettingsChangeEvent.RecipeBookType.values()
按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。限定符构造器说明PlayerRecipeBookSettingsChangeEvent
(@NotNull Player player, @NotNull PlayerRecipeBookSettingsChangeEvent.RecipeBookType recipeBookType, boolean open, boolean filtering)