public class SpongePlayerBlockLocationEvent extends Object implements IPlayerBlockLocationEvent
Constructor and Description |
---|
SpongePlayerBlockLocationEvent(PlayerBlockLocationEvent event) |
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 SpongePlayerBlockLocationEvent(PlayerBlockLocationEvent event)
public IPlayer getIPlayer()
getIPlayer
in interface IPlayerEvent
public <T> T get()
IScriptObject
get
in interface IScriptObject
public SimpleLocation getFrom()
getFrom
in interface IPlayerBlockLocationEvent
public SimpleLocation getTo()
getTo
in interface IPlayerBlockLocationEvent
public boolean isCancelled()
isCancelled
in interface IPlayerBlockLocationEvent
public void setCancelled(boolean b)
setCancelled
in interface IPlayerBlockLocationEvent