Package net.citizensnpcs.api.event
Class NPCMoveEvent
java.lang.Object
org.bukkit.event.Event
net.citizensnpcs.api.event.NPCMoveEvent
- All Implemented Interfaces:
- Cancellable
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetFrom()static HandlerList@NotNull HandlerListgetNPC()getTo()booleanbooleanbooleanbooleanbooleanbooleanvoidsetCancelled(boolean b) voidvoidtoString()Methods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
NPCMoveEvent
 
- 
- 
Method Details- 
getNPC
- 
getFrom
- 
getTo
- 
setFrom
- 
setTo
- 
hasChangedPositionpublic boolean hasChangedPosition()
- 
hasExplicitlyChangedPositionpublic boolean hasExplicitlyChangedPosition()
- 
hasChangedBlockpublic boolean hasChangedBlock()
- 
hasExplicitlyChangedBlockpublic boolean hasExplicitlyChangedBlock()
- 
hasChangedRotationpublic boolean hasChangedRotation()
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getHandlerList
- 
isCancelledpublic boolean isCancelled()- Specified by:
- isCancelledin interface- Cancellable
 
- 
setCancelledpublic void setCancelled(boolean b) - Specified by:
- setCancelledin interface- Cancellable
 
- 
toString
 
-