Package net.citizensnpcs.api.event
Class NPCKnockbackEvent
java.lang.Object
org.bukkit.event.Event
net.citizensnpcs.api.event.CitizensEvent
net.citizensnpcs.api.event.NPCEvent
net.citizensnpcs.api.event.NPCKnockbackEvent
- 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 TypeMethodDescriptionstatic HandlerList
double
boolean
void
setCancelled
(boolean cancel) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
NPCKnockbackEvent
-
-
Method Details
-
getHandlers
- Specified by:
getHandlers
in classEvent
-
getKnockbackVector
-
getKnockingBackEntity
-
getStrength
public double getStrength() -
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceCancellable
-
setCancelled
public void setCancelled(boolean cancel) - Specified by:
setCancelled
in interfaceCancellable
-
getHandlerList
-