public class PlayerInteractEvent extends PlayerEvent implements CancellableEvent
Modifier and Type | Class and Description |
---|---|
static class |
PlayerInteractEvent.Action |
Constructor and Description |
---|
PlayerInteractEvent(Player p,
PlayerInteractEvent.Action action) |
Modifier and Type | Method and Description |
---|---|
PlayerInteractEvent.Action |
getAction() |
boolean |
isCancelled() |
void |
setCancelled(boolean b) |
getPlayer
public PlayerInteractEvent(Player p, PlayerInteractEvent.Action action)
public PlayerInteractEvent.Action getAction()
public boolean isCancelled()
isCancelled
in interface CancellableEvent
public void setCancelled(boolean b)
setCancelled
in interface CancellableEvent