RotationTarget

constructor(rotation: Rotation, entity: Entity? = null, processors: List<RotationProcessor> = emptyList(), ticksUntilReset: Int, resetThreshold: Float, considerInventory: Boolean, movementCorrection: MovementCorrection, whenReached: RestrictedSingleUseAction? = null)

Parameters

rotation

The rotation we want to aim at.

angleSmooth

The mode of the smoother.