Class PlayerSkillUnlockEvent

java.lang.Object
org.bukkit.event.Event
com.sucy.skill.api.event.PlayerSkillUnlockEvent

@Deprecated(forRemoval=true) public class PlayerSkillUnlockEvent extends org.bukkit.event.Event
Deprecated, for removal: This API element is subject to removal in a future version.
Event called when a player initially unlocks a skill
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayerSkillUnlockEvent(PlayerData playerData, PlayerSkill unlockedSkill)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    org.bukkit.event.HandlerList
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlayerSkillUnlockEvent

      public PlayerSkillUnlockEvent(PlayerData playerData, PlayerSkill unlockedSkill)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Constructor
      Parameters:
      playerData - data of the player unlocking the skill
      unlockedSkill - the skill that was unlocked
  • Method Details

    • getPlayerData

      public PlayerData getPlayerData()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      data of the player unlocking the skill
    • getUnlockedSkill

      public PlayerSkill getUnlockedSkill()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      skill that was unlocked
    • getHandlers

      public org.bukkit.event.HandlerList getHandlers()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getHandlers in class org.bukkit.event.Event
      Returns:
      gets the handlers for the event
    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      gets the handlers for the event