Class NPCClickEvent
java.lang.Object
org.bukkit.event.Event
net.citizensnpcs.api.event.CitizensEvent
net.citizensnpcs.api.event.NPCEvent
net.citizensnpcs.api.event.NPCClickEvent
- All Implemented Interfaces:
Cancellable
- Direct Known Subclasses:
NPCLeftClickEvent, NPCRightClickEvent
Represents an event where an NPC was clicked by a player.
-
Nested Class Summary
Nested classes/interfaces inherited from class Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the player that clicked the NPC.static HandlerListbooleanvoidsetCancelled(boolean cancelled) Methods inherited from class Event
getEventName, isAsynchronous