Package net.citizensnpcs.api.event
Class NPCOpenGateEvent
java.lang.Object
org.bukkit.event.Event
net.citizensnpcs.api.event.CitizensEvent
net.citizensnpcs.api.event.NPCEvent
net.citizensnpcs.api.event.NPCOpenGateEvent
- All Implemented Interfaces:
Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetGate()
Returns theBlock
that was opened.static HandlerList
boolean
void
setCancelled
(boolean arg0) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
NPCOpenGateEvent
-
-
Method Details
-
getGate
Returns theBlock
that was opened.- Returns:
- The block
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean arg0) - Specified by:
setCancelled
in interfaceCancellable
-
getHandlerList
-