RotationTarget

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

Parameters

rotation

The rotation we want to aim at.

angleSmooth

The mode of the smoother.