Package lol.pyr.znpcsplus.api.event
Class NpcDespawnEvent
java.lang.Object
org.bukkit.event.Event
lol.pyr.znpcsplus.api.event.util.NpcEvent
lol.pyr.znpcsplus.api.event.util.CancellableNpcEvent
lol.pyr.znpcsplus.api.event.NpcDespawnEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
Event called when an NPC is despawned for a player
Note: This event is async
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerListorg.bukkit.event.HandlerListMethods inherited from class lol.pyr.znpcsplus.api.event.util.CancellableNpcEvent
isCancelled, setCancelledMethods inherited from class org.bukkit.event.Event
getEventName, isAsynchronousMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
NpcDespawnEvent
- Parameters:
player- The player involved in the evententry- The NPC entry involved in the event
-
-
Method Details
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-