@minecraft
    正在准备搜索索引...

    接口 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.