Package net.citizensnpcs.api.event
Class NPCPushEvent
java.lang.Object
org.bukkit.event.Event
net.citizensnpcs.api.event.CitizensEvent
net.citizensnpcs.api.event.NPCEvent
net.citizensnpcs.api.event.NPCPushEvent
- All Implemented Interfaces:
 Cancellable
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturn the collisionVectorbeing applied to the NPC.static HandlerListbooleanvoidsetCancelled(boolean cancel) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous 
- 
Constructor Details
- 
NPCPushEvent
 
 - 
 - 
Method Details
- 
getCollisionVector
Return the collisionVectorbeing applied to the NPC.- Returns:
 - The collision vector
 
 - 
getHandlers
- Specified by:
 getHandlersin classEvent
 - 
getPushedBy
 - 
isCancelled
public boolean isCancelled()- Specified by:
 isCancelledin interfaceCancellable
 - 
setCancelled
public void setCancelled(boolean cancel) - Specified by:
 setCancelledin interfaceCancellable
 - 
getHandlerList
 
 -