Class uSkyBlockScoreChangedEvent

java.lang.Object
org.bukkit.event.Event
us.talabrek.ultimateskyblock.api.event.uSkyBlockEvent
us.talabrek.ultimateskyblock.api.event.uSkyBlockScoreChangedEvent

public class uSkyBlockScoreChangedEvent extends uSkyBlockEvent
Fired when a player updates his island-score.
  • Constructor Details

    • uSkyBlockScoreChangedEvent

      public uSkyBlockScoreChangedEvent(org.bukkit.entity.Player player, uSkyBlockAPI api, IslandScore score, org.bukkit.Location islandLocation)
  • Method Details

    • getScore

      public IslandScore 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 class uSkyBlockEvent
      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.