public class BukkitPlayerBlockLocationEvent extends Object implements IPlayerBlockLocationEvent
Constructor and Description |
---|
BukkitPlayerBlockLocationEvent(PlayerBlockLocationEvent playerBlockLocationEvent) |
Modifier and Type | Method and Description |
---|---|
<T> T |
get()
upwrap this interface.
|
SimpleLocation |
getFrom() |
IPlayer |
getIPlayer() |
SimpleLocation |
getTo() |
boolean |
isCancelled() |
void |
setCancelled(boolean b) |
public BukkitPlayerBlockLocationEvent(PlayerBlockLocationEvent playerBlockLocationEvent)
public IPlayer getIPlayer()
getIPlayer
in interface IPlayerEvent
public SimpleLocation getFrom()
getFrom
in interface IPlayerBlockLocationEvent
public SimpleLocation getTo()
getTo
in interface IPlayerBlockLocationEvent
public <T> T get()
IScriptObject
get
in interface IScriptObject
public boolean isCancelled()
isCancelled
in interface IPlayerBlockLocationEvent
public void setCancelled(boolean b)
setCancelled
in interface IPlayerBlockLocationEvent