程序包 org.bukkit.event.player

# 类 PlayerRecipeBookSettingsChangeEvent

java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerRecipeBookSettingsChangeEvent

public class PlayerRecipeBookSettingsChangeEvent extends PlayerEvent
Called when a player changes recipe book settings.

- ## 嵌套类概要

  嵌套类
  修饰符和类型
  类
  说明
  `static enum`
  `PlayerRecipeBookSettingsChangeEvent.RecipeBookType`
  Enum representing the various types of recipe book.

  ## 从类继承的嵌套类/接口 org.bukkit.event.Event

  `Event.Result`

- ## 字段概要

  ### 从类继承的字段 org.bukkit.event.player.PlayerEvent

  `player`

- ## 构造器概要

  构造器
  构造器
  说明
  `PlayerRecipeBookSettingsChangeEvent(@NotNull Player player, @NotNull PlayerRecipeBookSettingsChangeEvent.RecipeBookType recipeBookType, boolean open, boolean filtering)`

- ## 方法概要

  修饰符和类型
  方法
  说明
  `static @NotNull HandlerList`
  `getHandlerList()`
  `@NotNull HandlerList`
  `getHandlers()`
  `@NotNull PlayerRecipeBookSettingsChangeEvent.RecipeBookType`
  `getRecipeBookType()`
  Gets the type of recipe book the player is changing the settings for.
  `boolean`
  `isFiltering()`
  Checks if the recipe book filter is being enabled or disabled.
  `boolean`
  `isOpen()`
  Checks if the recipe book is being opened or closed.

  ### 从类继承的方法 org.bukkit.event.player.PlayerEvent

  `getPlayer`

  ### 从类继承的方法 org.bukkit.event.Event

  `getEventName, isAsynchronous`

  ### 从类继承的方法 java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 构造器详细资料

  - ### PlayerRecipeBookSettingsChangeEvent

    public PlayerRecipeBookSettingsChangeEvent(@NotNull @NotNull Player player, @NotNull @NotNull PlayerRecipeBookSettingsChangeEvent.RecipeBookType recipeBookType, boolean open, boolean filtering)

- ## 方法详细资料

  - ### getRecipeBookType

    @NotNull public @NotNull PlayerRecipeBookSettingsChangeEvent.RecipeBookType getRecipeBookType()
    Gets the type of recipe book the player is changing the settings for.
    返回:
      the type of recipe book

  - ### isOpen

    public boolean isOpen()
    Checks if the recipe book is being opened or closed.
    返回:
      true if opening

  - ### isFiltering

    public boolean isFiltering()
    Checks if the recipe book filter is being enabled or disabled.
    返回:
      true if enabling

  - ### getHandlers

    @NotNull public @NotNull HandlerList getHandlers()
    指定者:
      `getHandlers` 在类中 `Event`

  - ### getHandlerList

    @NotNull public static @NotNull HandlerList getHandlerList()