public interface InteractItemEvent extends InteractEvent
ItemStack in hand.
Note: Canceling this event will halt any future actions from occurring.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
InteractItemEvent.Primary |
static interface |
InteractItemEvent.Secondary |
| Modifier and Type | Method and Description |
|---|---|
ItemStackSnapshot |
getItemStack()
Gets the
ItemStackSnapshot being interacted with. |
getInteractionPointgetCause, getContext, getSourceisCancelled, setCancelledItemStackSnapshot getItemStack()
ItemStackSnapshot being interacted with.