public class AbilityStartEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
Constructor and Description |
---|
AbilityStartEvent(Ability ability) |
Modifier and Type | Method and Description |
---|---|
Ability |
getAbility() |
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
public AbilityStartEvent(Ability ability)
public Ability getAbility()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancelled)
setCancelled
in interface org.bukkit.event.Cancellable