Package com.sucy.skill.api.event
Class PlayerSkillUnlockEvent
java.lang.Object
org.bukkit.event.Event
com.sucy.skill.api.event.PlayerSkillUnlockEvent
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
ConstructorsConstructorDescriptionPlayerSkillUnlockEvent
(PlayerData playerData, PlayerSkill unlockedSkill) Deprecated, for removal: This API element is subject to removal in a future version.Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic 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
-
Constructor Details
-
PlayerSkillUnlockEvent
Deprecated, for removal: This API element is subject to removal in a future version.Constructor- Parameters:
playerData
- data of the player unlocking the skillunlockedSkill
- the skill that was unlocked
-
-
Method Details
-
getPlayerData
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- data of the player unlocking the skill
-
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 classorg.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
-
PlayerSkillUnlockEvent
instead