NearestRotationTargetPositionFactory

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

Constructors

Link copied to clipboard
constructor(config: PositionFactoryConfiguration)

Properties

Link copied to clipboard

Functions

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

Samples a position (relative to targetPos).