producePositionOnFace

abstract fun producePositionOnFace(face: AlignedFace, targetPos: BlockPos, playerLocation: PlayerLocationOnPlacement): Vec3?

Samples a position (relative to targetPos).

Parameters

face

is relative to origin.

playerLocation

the player's state on placement. All geometry must be derived from it, never from the live player, so that the aim stays consistent with PlayerLocationOnPlacement.eyePos.