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. |
getInteractionPoint
getCause, getContext, getSource
isCancelled, setCancelled
ItemStackSnapshot getItemStack()
ItemStackSnapshot
being interacted with.