接口 BlockRaycastHit实验性

Contains information for block raycast hit results.

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

属性

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.