Class PlayerSkillCastFailedEvent

java.lang.Object
org.bukkit.event.Event
studio.magemonkey.fabled.api.event.PlayerSkillCastFailedEvent

public class PlayerSkillCastFailedEvent extends org.bukkit.event.Event
Fabled © 2024 studio.magemonkey.fabled.api.event.PlayerSkillCastFailedEvent
  • Method Details

    • invoke

      public static boolean invoke(PlayerSkill skill, PlayerSkillCastFailedEvent.Cause cause)
    • getPlayerData

      public PlayerData getPlayerData()
      Returns:
      player trying to cast the skill
    • getSkill

      public PlayerSkill getSkill()
      Returns:
      skill that was attempted to be cast
    • getCause

      Returns:
      reason the skill cast failed
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Retrieves the handlers for the event
      Specified by:
      getHandlers in class org.bukkit.event.Event
      Returns:
      list of event handlers
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Retrieves the handlers for the event
      Returns:
      list of event handlers