Package net.citizensnpcs.api.event
Class EntityTargetNPCEvent
java.lang.Object
org.bukkit.event.Event
net.citizensnpcs.api.event.CitizensEvent
net.citizensnpcs.api.event.NPCEvent
net.citizensnpcs.api.event.EntityTargetNPCEvent
- All Implemented Interfaces:
- Cancellable
- 
Nested Class SummaryNested classes/interfaces inherited from class org.bukkit.event.EventEvent.Result
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the Entity involved in this eventstatic HandlerListReturns the reason for the targetingbooleanvoidsetCancelled(boolean cancel) Methods inherited from class org.bukkit.event.EventgetEventName, isAsynchronous
- 
Constructor Details- 
EntityTargetNPCEvent
 
- 
- 
Method Details- 
getEntityReturns the Entity involved in this event- Returns:
- Entity who is involved in this event
 
- 
getHandlers- Specified by:
- getHandlersin class- Event
 
- 
getReasonReturns the reason for the targeting- Returns:
- The reason
 
- 
isCancelledpublic boolean isCancelled()- Specified by:
- isCancelledin interface- Cancellable
 
- 
setCancelledpublic void setCancelled(boolean cancel) - Specified by:
- setCancelledin interface- Cancellable
 
- 
getHandlerList
 
-