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, hasPlayerpublic PlayerInteractEvent(Player p, PlayerInteractEvent.Action action)
public PlayerInteractEvent.Action getAction()
public boolean isCancelled()
isCancelled in interface CancellableEventpublic void setCancelled(boolean b)
setCancelled in interface CancellableEvent