public interface InteractBlockEvent extends InteractEvent, TargetBlockEvent
BlockState
at a
Location
.Modifier and Type | Interface and Description |
---|---|
static interface |
InteractBlockEvent.Attack
An event where a block is being "attacked".
|
static interface |
InteractBlockEvent.Use
An event where a block is being "used".
|
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
getCallbacks
Direction getTargetSide()
BlockState
being interacted with
or Direction.NONE
if not known.Direction.NONE