case "FunTime" -> {
if (MouseUtil.getMouseOver(target, rotateVector.x, rotateVector.y, attackDistance()) != null) {
rotationYawSpeed = rotationPitchSpeed = 0;
} else {
rotationYawSpeed = MathUtil.random(5, 45);
rotationPitchSpeed = MathUtil.random(5, 25);
}
float clampedYaw = Math.min(Math.max(roundYawDelta, 1.0f), rotationYawSpeed);
float clampedPitch = Math.min(Math.max(Math.abs(pitchDelta) * 0.33f, 1.0f), rotationPitchSpeed);
yaw = rotateVector.x + (yawDelta > 0 ? clampedYaw : -clampedYaw);
pitch = clamp(rotateVector.y + (pitchDelta > 0 ? clampedPitch : -clampedPitch), -90, 90);
float gcd = SensUtils.getGCDValue();
yaw -= (yaw - rotateVector.x) % gcd;
pitch -= (pitch - rotateVector.y) % gcd;
rotateVector = new Vector2f(yaw, pitch);
lastYaw = clampedYaw;
lastPitch = clampedPitch;
if (options.getValueByName("Коррекция движения").get()) {
mc.player.rotationYawOffset = yaw;
}
}