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.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionResourcePackStatusEvent
(org.bukkit.entity.Player player, ResourcePackStatus status) Deprecated.ResourcePackStatusEvent
(org.bukkit.entity.Player player, ResourcePackStatus status, de.themoep.resourcepacksplugin.core.ResourcePack pack) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
de.themoep.resourcepacksplugin.core.ResourcePack
getPack()
Get the pack that the cdlient replied tofinal org.bukkit.entity.Player
final UUID
Get the id of the player for which this event was calledfinal ResourcePackStatus
Get the statusMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
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
Description copied from interface:IResourcePackStatusEvent
Get the id of the player for which this event was called- Specified by:
getPlayerId
in interfaceIResourcePackStatusEvent
- Returns:
- The UUID of the player
-
getStatus
Description copied from interface:IResourcePackStatusEvent
Get the status- Specified by:
getStatus
in interfaceIResourcePackStatusEvent
- 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 interfaceIResourcePackStatusEvent
- Returns:
- The pack that the client replied to
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-