calculateTicks

fun calculateTicks(rotation: Rotation): Int

How long it takes to rotate to a rotation in ticks

Calculates the difference from the server rotation to the target rotation and divides it by the minimum turn speed (to make sure we are always there in time)

Return

The amount of ticks it takes to rotate to the rotation

Parameters

rotation

The rotation to rotate to