Package net.citizensnpcs.api.event
Class NPCEvent
java.lang.Object
org.bukkit.event.Event
net.citizensnpcs.api.event.CitizensEvent
net.citizensnpcs.api.event.NPCEvent
- Direct Known Subclasses:
EntityTargetNPCEvent
,HologramTrait.HologramRendererCreateEvent
,NPCClickEvent
,NPCCloneEvent
,NPCCollisionEvent
,NPCCombustEvent
,NPCCommandDispatchEvent
,NPCCreateEvent
,NPCDamageEvent
,NPCDeathEvent
,NPCDespawnEvent
,NPCKnockbackEvent
,NPCLinkToPlayerEvent
,NPCLookCloseChangeTargetEvent
,NPCNeedsRespawnEvent
,NPCOpenDoorEvent
,NPCOpenGateEvent
,NPCPistonPushEvent
,NPCPushEvent
,NPCRemoveEvent
,NPCRenameEvent
,NPCSeenByPlayerEvent
,NPCSelectEvent
,NPCSpawnEvent
,NPCSpeechEvent
,NPCTeleportEvent
,NPCTraitCommandAttachEvent
,NPCTraitCommandDetachEvent
,NPCTraitEvent
,NPCUnlinkFromPlayerEvent
,NPCVehicleDamageEvent
Represents an event thrown by an NPC.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
-
Constructor Details
-
NPCEvent
-
NPCEvent
-
-
Method Details
-
getNPC
Get the npc involved in the event.- Returns:
- the npc involved in the event
-