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 SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturn the collisionVectorbeing applied to the NPC.static HandlerListbooleanvoidsetCancelled(boolean cancel) Methods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
NPCPushEvent
 
- 
- 
Method Details- 
getCollisionVectorReturn the collisionVectorbeing applied to the NPC.- Returns:
- The collision vector
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getPushedBy
- 
isCancelledpublic boolean isCancelled()- Specified by:
- isCancelledin interface- Cancellable
 
- 
setCancelledpublic void setCancelled(boolean cancel) - Specified by:
- setCancelledin interface- Cancellable
 
- 
getHandlerList
 
-