Class PlayerSkillUnlockEvent

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

public class PlayerSkillUnlockEvent extends org.bukkit.event.Event
Event called when a player initially unlocks a skill
  • Constructor Details

    • PlayerSkillUnlockEvent

      public PlayerSkillUnlockEvent(PlayerData playerData, PlayerSkill unlockedSkill)
      Constructor
      Parameters:
      playerData - data of the player unlocking the skill
      unlockedSkill - the skill that was unlocked
  • Method Details

    • getPlayerData

      public PlayerData getPlayerData()
      Returns:
      data of the player unlocking the skill
    • getUnlockedSkill

      public PlayerSkill getUnlockedSkill()
      Returns:
      skill that was unlocked
    • getHandlers

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

      public static org.bukkit.event.HandlerList getHandlerList()
      Returns:
      gets the handlers for the event