# 枚举的使用
org.bukkit.event.player.PlayerRecipeBookSettingsChangeEvent.RecipeBookType

使用PlayerRecipeBookSettingsChangeEvent.RecipeBookType的程序包
程序包
说明
org.bukkit.event.player
与`玩家`相关的`事件`.

- ## org.bukkit.event.player中PlayerRecipeBookSettingsChangeEvent.RecipeBookType的使用

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