public class IslandPreTeleportEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
Modifier and Type | Class and Description |
---|---|
static class |
IslandPreTeleportEvent.Type |
Constructor and Description |
---|
IslandPreTeleportEvent(org.bukkit.entity.Player player,
IslandPreTeleportEvent.Type type,
org.bukkit.Location location) |
Modifier and Type | Method and Description |
---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
org.bukkit.Location |
getLocation() |
org.bukkit.entity.Player |
getPlayer() |
IslandPreTeleportEvent.Type |
getType() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
public IslandPreTeleportEvent(org.bukkit.entity.Player player, IslandPreTeleportEvent.Type type, org.bukkit.Location location)
public org.bukkit.entity.Player getPlayer()
public IslandPreTeleportEvent.Type getType()
public org.bukkit.Location getLocation()
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancelled)
setCancelled
in interface org.bukkit.event.Cancellable
public org.bukkit.event.HandlerList getHandlers()
getHandlers
in class org.bukkit.event.Event
public static org.bukkit.event.HandlerList getHandlerList()