Package net.citizensnpcs.api.event
Class NPCRightClickEvent
java.lang.Object
org.bukkit.event.Event
net.citizensnpcs.api.event.CitizensEvent
net.citizensnpcs.api.event.NPCEvent
net.citizensnpcs.api.event.NPCClickEvent
net.citizensnpcs.api.event.NPCRightClickEvent
- All Implemented Interfaces:
Cancellable
Called when an NPC is right-clicked by a player.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerList
boolean
void
setDelayedCancellation
(boolean toCancel) Methods inherited from class net.citizensnpcs.api.event.NPCClickEvent
getClicker, isCancelled, setCancelled
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
NPCRightClickEvent
-
-
Method Details
-
getHandlers
- Overrides:
getHandlers
in classNPCClickEvent
-
isDelayedCancellation
public boolean isDelayedCancellation() -
setDelayedCancellation
public void setDelayedCancellation(boolean toCancel) -
getHandlerList
-