public class PlayerBlockLocationEvent
extends org.bukkit.event.player.PlayerEvent
implements org.bukkit.event.Cancellable
Constructor and Description |
---|
PlayerBlockLocationEvent(org.bukkit.entity.Player who,
SimpleLocation from,
SimpleLocation to) |
Modifier and Type | Method and Description |
---|---|
SimpleLocation |
getFrom() |
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
SimpleLocation |
getTo() |
boolean |
isCancelled() |
void |
setCancelled(boolean cancel) |
public PlayerBlockLocationEvent(org.bukkit.entity.Player who, SimpleLocation from, SimpleLocation to)
public boolean isCancelled()
isCancelled
in interface org.bukkit.event.Cancellable
public void setCancelled(boolean cancel)
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()
public SimpleLocation getFrom()
public SimpleLocation getTo()