类 PlayerResourcePackStatusEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerResourcePackStatusEvent
当玩家对通过
Player.setResourcePack(java.lang.String)
发起的资源包请求采取动作时触发本事件.-
嵌套类概要
从类继承的嵌套类/接口 org.bukkit.event.Event
Event.Result
-
字段概要
从类继承的字段 org.bukkit.event.player.PlayerEvent
player
-
构造器概要
构造器说明PlayerResourcePackStatusEvent
(Player who, PlayerResourcePackStatusEvent.Status resourcePackStatus) -
方法概要
从类继承的方法 org.bukkit.event.player.PlayerEvent
getPlayer
从类继承的方法 org.bukkit.event.Event
getEventName, isAsynchronous
-
构造器详细资料
-
PlayerResourcePackStatusEvent
public PlayerResourcePackStatusEvent(Player who, PlayerResourcePackStatusEvent.Status resourcePackStatus)
-
-
方法详细资料
-
getStatus
获取这个资源包的状态.原文:Gets the status of this pack.
- 返回:
- 当前的状态
-
getHandlers
- 指定者:
getHandlers
在类中Event
-
getHandlerList
-