Contains information for block raycast hit results.

interface BlockRaycastHit {
    block: Block;
    face: Direction;
    faceLocation: Vector3;
}

Properties

block: Block

Block that was hit.

face: Direction

Face of the block that was hit.

faceLocation: Vector3

Hit location relative to the bottom north-west corner of the block.