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.
See Also:
  • Constructor Details

  • Method Details

    • getID

      @NotNull public @NotNull UUID getID()
      Gets the unique ID of this pack.
      Returns:
      unique resource pack ID.
    • getStatus

      @NotNull public @NotNull PlayerResourcePackStatusEvent.Status getStatus()
      Gets the status of this pack.
      Returns:
      the current status
    • getHash

      @Deprecated(forRemoval=true) @Contract("-> null") public String getHash()
      Deprecated, for removal: This API element is subject to removal in a future version.
      This is no longer sent from the client and will always be null
    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      @NotNull public static @NotNull HandlerList getHandlerList()