case "FunTime":
clampedYaw = Math.min(Math.max(Math.abs(yawDelta), 1.0F), rotationYawSpeed);
clampedPitch = Math.min(Math.max(Math.abs(pitchDelta) * 0.33f, 1.0f), rotationPitchSpeed);
if (attack && this.selected != this.target && (Boolean)this.speedattack.get()) {
clampedPitch = Math.max(Math.abs(pitchDelta), 0.5F);
} else {
clampedPitch /= 1/5F;
}
if (Math.abs(clampedYaw - this.lastYaw) <= 5.0F) {
clampedYaw = this.lastYaw + 15F;
}
yaw = this.rotateVector.x + (yawDelta > 0.0F ? clampedYaw : -clampedYaw);
pitch = clamp(rotateVector.y + (pitchDelta > 0 ? clampedPitch : -clampedPitch), -90, 90);
gcd = SensUtils.getGCDValue();
yaw -= (yaw - this.rotateVector.x) % gcd;
pitch -= (pitch - this.rotateVector.y) % gcd;
this.rotateVector = new Vector2f(yaw, pitch);
this.lastYaw = clampedYaw;
this.lastPitch = clampedPitch;
if ((Boolean)this.movementfix.get()) {
var17 = mc;
Minecraft.player.rotationYawOffset = yaw;
}