类 PlayerRecipeBookSettingsChangeEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerRecipeBookSettingsChangeEvent
Called when a player changes recipe book settings.
-
嵌套类概要
修饰符和类型类说明static enum
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
Gets the type of recipe book the player is changing the settings for.boolean
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
-
构造器详细资料
-
PlayerRecipeBookSettingsChangeEvent
-
-
方法详细资料
-
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
- 指定者:
getHandlers
在类中Event
-
getHandlerList
-