Contains more information for events where a block is hit.

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

Properties

block: Block

Block that was hit.

face: Direction

Face of the block that was hit.

faceLocation: Vector3

Location relative to the bottom north-west corner of the block.