Package lol.pyr.znpcsplus.api.event
Class NpcSpawnEvent
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.NpcSpawnEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
Event called when an NPC is spawned 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.HandlerList
org.bukkit.event.HandlerList
Methods inherited from class lol.pyr.znpcsplus.api.event.util.CancellableNpcEvent
isCancelled, setCancelled
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.event.Cancellable
isCancelled, setCancelled
-
Constructor Details
-
NpcSpawnEvent
- 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:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-