Class uSkyBlockScoreChangedEvent
java.lang.Object
org.bukkit.event.Event
us.talabrek.ultimateskyblock.api.event.uSkyBlockEvent
us.talabrek.ultimateskyblock.api.event.uSkyBlockScoreChangedEvent
Fired when a player updates his island-score.
-
Nested Class Summary
Nested classes/interfaces inherited from class us.talabrek.ultimateskyblock.api.event.uSkyBlockEvent
uSkyBlockEvent.Cause
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionuSkyBlockScoreChangedEvent
(org.bukkit.entity.Player player, uSkyBlockAPI api, IslandScore score, org.bukkit.Location islandLocation) -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
Returns the handlers listening to this event.org.bukkit.event.HandlerList
Returns the handlers listening to this event.org.bukkit.Location
Returns the island locationgetScore()
Returns the score that changed.Methods inherited from class us.talabrek.ultimateskyblock.api.event.uSkyBlockEvent
getAPI, getCause, getPlayer
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
uSkyBlockScoreChangedEvent
public uSkyBlockScoreChangedEvent(org.bukkit.entity.Player player, uSkyBlockAPI api, IslandScore score, org.bukkit.Location islandLocation)
-
-
Method Details
-
getScore
Returns the score that changed.- Returns:
- the score that changed.
-
getIslandLocation
public org.bukkit.Location getIslandLocation()Returns the island location- Returns:
- the island location
- Since:
- v2.7.4
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()Description copied from class:uSkyBlockEvent
Returns the handlers listening to this event.- Overrides:
getHandlers
in classuSkyBlockEvent
- Returns:
- the handlers listening to this event.
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()Returns the handlers listening to this event. Required for Bukkit-events.- Returns:
- the handlers listening to this event.
-