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
-
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) Constructor -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
org.bukkit.event.HandlerList
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
PlayerSkillUnlockEvent
Constructor- Parameters:
playerData
- data of the player unlocking the skillunlockedSkill
- the skill that was unlocked
-
-
Method Details
-
getPlayerData
- Returns:
- data of the player unlocking the skill
-
getUnlockedSkill
- Returns:
- skill that was unlocked
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.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
-