Package org.bukkit.event.player
Class PlayerResourcePackStatusEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerResourcePackStatusEvent
Called when a player takes action on a resource pack request sent via
Player.setResourcePack(java.lang.String)
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Status of the resource pack.Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Field Summary
Fields inherited from class org.bukkit.event.player.PlayerEvent
player
-
Constructor Summary
ConstructorDescriptionPlayerResourcePackStatusEvent(Player who, PlayerResourcePackStatusEvent.Status resourcePackStatus)
-
Method Summary
Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerResourcePackStatusEvent
public PlayerResourcePackStatusEvent(@NotNull Player who, @NotNull PlayerResourcePackStatusEvent.Status resourcePackStatus)
-
-
Method Details
-
getStatus
Gets the status of this pack.- Returns:
- the current status
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-