The BlockHitInformation interface in @minecraft/server.
Interface in @minecraft/server
import type { BlockHitInformation } from '@minecraft/server';Properties
Section titled “Properties”read-only
readonly block: Block;Types
read-only
readonly face: Direction;Basalt works the face out from the projectile’s flight.
Types
faceLocation
Section titled “faceLocation”read-only
readonly faceLocation: Vector3;Where it hit, from the block’s lowest corner.
Types