public class PlayerLocationChangeEvent
extends org.bukkit.event.player.PlayerEvent
implements org.bukkit.event.Cancellable
| Constructor and Description |
|---|
PlayerLocationChangeEvent(org.bukkit.entity.Player who,
org.bukkit.Location lastLocation,
org.bukkit.Location newLocation) |
| Modifier and Type | Method and Description |
|---|---|
org.bukkit.event.HandlerList |
getHandlers() |
org.bukkit.Location |
getLastLocation() |
org.bukkit.Location |
getNewLocation() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancelled) |
public PlayerLocationChangeEvent(org.bukkit.entity.Player who,
org.bukkit.Location lastLocation,
org.bukkit.Location newLocation)
public org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Eventpublic org.bukkit.Location getLastLocation()
public org.bukkit.Location getNewLocation()
public boolean isCancelled()
isCancelled in interface org.bukkit.event.Cancellablepublic void setCancelled(boolean cancelled)
setCancelled in interface org.bukkit.event.CancellableCopyright © 2023. All rights reserved.