public abstract class ASkyBlockEvent
extends org.bukkit.event.Event
Constructor and Description |
---|
ASkyBlockEvent(java.util.UUID player) |
ASkyBlockEvent(java.util.UUID player,
com.wasteofplastic.askyblock.Island island) |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
com.wasteofplastic.askyblock.Island |
getIsland()
The island involved in the event
|
int |
getIslandDistance()
Convenience function to obtain the island's distance
|
org.bukkit.Location |
getIslandLocation()
Convenience function to obtain the island's center location
|
java.util.UUID |
getIslandOwner()
Convenience function to obtain the island's owner
|
java.util.UUID |
getPlayer()
Gets the player involved in this event
|
int |
getProtectionSize()
Convenience function to obtain the island's protection size
|
java.util.UUID |
getTeamLeader() |
boolean |
isLocked()
Convenience function to obtain the island's locked status
|
public ASkyBlockEvent(java.util.UUID player, com.wasteofplastic.askyblock.Island island)
player
- island
- public ASkyBlockEvent(java.util.UUID player)
public java.util.UUID getPlayer()
public com.wasteofplastic.askyblock.Island getIsland()
public int getProtectionSize()
public boolean isLocked()
public int getIslandDistance()
public java.util.UUID getTeamLeader()
public java.util.UUID getIslandOwner()
public org.bukkit.Location getIslandLocation()
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()