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 IPlayerEventpublic <T> T get()
IScriptObjectget in interface IScriptObjectpublic SimpleLocation getFrom()
getFrom in interface IPlayerBlockLocationEventpublic SimpleLocation getTo()
getTo in interface IPlayerBlockLocationEventpublic boolean isCancelled()
isCancelled in interface IPlayerBlockLocationEventpublic void setCancelled(boolean b)
setCancelled in interface IPlayerBlockLocationEvent