Class ResourcePackStatusEvent

java.lang.Object
org.bukkit.event.Event
de.themoep.resourcepacksplugin.bukkit.events.ResourcePackStatusEvent
All Implemented Interfaces:
IResourcePackStatusEvent

public class ResourcePackStatusEvent extends org.bukkit.event.Event implements IResourcePackStatusEvent
Created by Phoenix616 on 31.03.2019.
  • Constructor Details

    • ResourcePackStatusEvent

      @Deprecated public ResourcePackStatusEvent(org.bukkit.entity.Player player, ResourcePackStatus status)
      Deprecated.
    • ResourcePackStatusEvent

      public ResourcePackStatusEvent(org.bukkit.entity.Player player, ResourcePackStatus status, de.themoep.resourcepacksplugin.core.ResourcePack pack)
  • Method Details

    • getPlayer

      public final org.bukkit.entity.Player getPlayer()
    • getPlayerId

      public final UUID getPlayerId()
      Description copied from interface: IResourcePackStatusEvent
      Get the id of the player for which this event was called
      Specified by:
      getPlayerId in interface IResourcePackStatusEvent
      Returns:
      The UUID of the player
    • getStatus

      public final ResourcePackStatus getStatus()
      Description copied from interface: IResourcePackStatusEvent
      Get the status
      Specified by:
      getStatus in interface IResourcePackStatusEvent
      Returns:
      The the status of the event
    • getPack

      public de.themoep.resourcepacksplugin.core.ResourcePack getPack()
      Description copied from interface: IResourcePackStatusEvent
      Get the pack that the cdlient replied to
      Specified by:
      getPack in interface IResourcePackStatusEvent
      Returns:
      The pack that the client replied to
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()