@minecraft/server / BlockRaycastHit
Interface: BlockRaycastHit ​
Defined in: @minecraft/server/index.d.ts:22658
Contains information for block raycast hit results.
Properties ​
block ​
block:
Block
Defined in: @minecraft/server/index.d.ts:22664
Remarks ​
Block that was hit.
face ​
face:
Direction
Defined in: @minecraft/server/index.d.ts:22670
Remarks ​
Face of the block that was hit.
faceLocation ​
faceLocation:
Vector3
Defined in: @minecraft/server/index.d.ts:22677
Remarks ​
Hit location relative to the bottom north-west corner of the block.