Class ResourcePackSendEvent
java.lang.Object
org.bukkit.event.Event
de.themoep.resourcepacksplugin.bukkit.events.ResourcePackSendEvent
- All Implemented Interfaces:
de.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent,org.bukkit.event.Cancellable
public class ResourcePackSendEvent
extends org.bukkit.event.Event
implements de.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent, org.bukkit.event.Cancellable
Created by Phoenix616 on 18.04.2015.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
ConstructorsConstructorDescriptionResourcePackSendEvent(UUID playerId, de.themoep.resourcepacksplugin.core.ResourcePack pack) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerListorg.bukkit.event.HandlerListde.themoep.resourcepacksplugin.core.ResourcePackgetPack()booleanvoidsetCancelled(boolean cancelled) voidsetPack(de.themoep.resourcepacksplugin.core.ResourcePack pack) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
ResourcePackSendEvent
-
-
Method Details
-
getPlayerId
- Specified by:
getPlayerIdin interfacede.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent
-
getPack
public de.themoep.resourcepacksplugin.core.ResourcePack getPack()- Specified by:
getPackin interfacede.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent
-
setPack
public void setPack(de.themoep.resourcepacksplugin.core.ResourcePack pack) - Specified by:
setPackin interfacede.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceorg.bukkit.event.Cancellable- Specified by:
isCancelledin interfacede.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelledin interfaceorg.bukkit.event.Cancellable- Specified by:
setCancelledin interfacede.themoep.resourcepacksplugin.core.events.IResourcePackSendEvent
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-