NearestRotationTargetPositionFactory

Always targets the point with the nearest rotation angle to the current rotation angle

Functions

Link copied to clipboard
fun aimAtNearestPointToRotationLine(targetPos: BlockPos, face: AlignedFace, playerLocation: PlayerLocationOnPlacement): Vec3
Link copied to clipboard
open override fun producePositionOnFace(face: AlignedFace, targetPos: BlockPos, playerLocation: PlayerLocationOnPlacement): Vec3

Samples a position (relative to targetPos).