public interface InteractBlockEvent extends InteractEvent, TargetBlockEvent
BlockState
at a
Location
.Modifier and Type | Interface and Description |
---|---|
static interface |
InteractBlockEvent.Primary
An event where the targeted block is being interacted with the client's "primary" button.
|
static interface |
InteractBlockEvent.Secondary
An event where the targeted block is being interacted with the client's "secondary" button.
|
Modifier and Type | Method and Description |
---|---|
Direction |
getTargetSide()
Gets the target "side" of the
BlockState being interacted with
or Direction.NONE if not known. |
getInteractionPoint
isCancelled, setCancelled
getCause
getTargetBlock
Direction getTargetSide()
BlockState
being interacted with
or Direction.NONE
if not known.Direction.NONE