Class ManaAbilityActivateEvent

java.lang.Object
org.bukkit.event.Event
dev.aurelium.auraskills.api.event.mana.ManaAbilityActivateEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class ManaAbilityActivateEvent extends org.bukkit.event.Event implements org.bukkit.event.Cancellable
  • Constructor Details

    • ManaAbilityActivateEvent

      public ManaAbilityActivateEvent(org.bukkit.entity.Player player, SkillsUser user, ManaAbility manaAbility, int duration, double manaUsed)
  • Method Details

    • getPlayer

      public org.bukkit.entity.Player getPlayer()
    • getUser

      public SkillsUser getUser()
    • getManaAbility

      public ManaAbility getManaAbility()
    • getDuration

      public int getDuration()
    • setDuration

      public void setDuration(int duration)
    • getManaUsed

      public double getManaUsed()
    • setManaUsed

      public void setManaUsed(double manaUsed)
    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.bukkit.event.Event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()