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.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
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
(@NotNull Player who, @NotNull UUID id, @NotNull PlayerResourcePackStatusEvent.Status resourcePackStatus) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull HandlerList
getHash()
Deprecated, for removal: This API element is subject to removal in a future version.Hash does not seem to ever be setgetID()
Gets the unique ID of this pack.Gets the status of this pack.Methods inherited from class org.bukkit.event.player.PlayerEvent
getPlayer
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
PlayerResourcePackStatusEvent
-
-
Method Details
-
getHash
Deprecated, for removal: This API element is subject to removal in a future version.Hash does not seem to ever be set -
getID
Gets the unique ID of this pack.- Returns:
- unique resource pack ID.
-
getStatus
Gets the status of this pack.- Returns:
- the current status
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getHandlerList
-