Package org.bukkit.event.player
Class PlayerResourcePackStatusEvent
java.lang.Object
org.bukkit.event.Event
org.bukkit.event.player.PlayerEvent
org.bukkit.event.player.PlayerResourcePackStatusEvent
public class PlayerResourcePackStatusEvent extends PlayerEvent
Called when a player takes action on a resource pack request sent via
Player.setResourcePack(java.lang.String)
.-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlayerResourcePackStatusEvent.Status
Status of the resource pack. -
Field Summary
-
Constructor Summary
Constructors Constructor Description PlayerResourcePackStatusEvent(Player who, PlayerResourcePackStatusEvent.Status resourcePackStatus)
-
Method Summary
Modifier and Type Method Description static HandlerList
getHandlerList()
HandlerList
getHandlers()
PlayerResourcePackStatusEvent.Status
getStatus()
Gets the status of this pack.
-
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
-