public class PlayerClickItemEvent extends Event implements Cancellable
Constructor and Description |
---|
PlayerClickItemEvent(Inventory window,
short clickedSlot,
int actionId) |
Modifier and Type | Method and Description |
---|---|
int |
actionId() |
void |
cancel(boolean cancelled) |
short |
clickedSlot() |
boolean |
isIgnored() |
Inventory |
window() |
public PlayerClickItemEvent(Inventory window, short clickedSlot, int actionId)
public short clickedSlot()
public int actionId()
public boolean isIgnored()
isIgnored
in interface Cancellable
public void cancel(boolean cancelled)
cancel
in interface Cancellable
cancelled
- set the cancellation state of the eventCopyright © 2016. All rights reserved.