public interface CollideBlockEvent extends GameEvent, Cancellable, CauseTracked
BlockState
due to a Cause
.Modifier and Type | Method and Description |
---|---|
BlockState |
getTargetBlock()
Gets the target
BlockState being interacted with. |
Location<World> |
getTargetLocation()
Gets the target
Location being interacted with. |
Direction |
getTargetSide()
Gets the target "side" of the
BlockState being interacted with
or Direction.NONE if not known. |
getCallbacks
isCancelled, setCancelled
getCause
Location<World> getTargetLocation()
Location
being interacted with.BlockState getTargetBlock()
BlockState
being interacted with.Direction getTargetSide()
BlockState
being interacted with
or Direction.NONE
if not known.Direction.NONE