public static void silentMoveFixPastedFromLiquidBounce(final Class1017 class1017) {
if (MoveUtil.a.H()) {
return;
}
final int n = (int)((wrap_angle(MoveUtil.a.thePlayer.rotationYaw - RotationUtil.b - 23.5f - 135.0f) + 180.0f) / 45.0f);
final float b = RotationUtil.b;
final float d = class1017.d();
final float c = class1017.c();
final float e = class1017.e();
float n2 = 0.0f;
float n3 = 0.0f;
switch (n) {
case 0: {
n2 = c;
n3 = d;
break;
}
case 1: {
final float n4 = n2 + c;
final float n5 = n3 - c;
n2 = n4 + d;
n3 = n5 + d;
break;
}
case 2: {
n2 = d;
n3 = -c;
break;
}
case 3: {
final float n6 = n2 - c;
final float n7 = n3 - c;
n2 = n6 + d;
n3 = n7 - d;
break;
}
case 4: {
n2 = -c;
n3 = -d;
break;
}
case 5: {
final float n8 = n2 - c;
final float n9 = n3 + c;
n2 = n8 - d;
n3 = n9 - d;
break;
}
case 6: {
n2 = -d;
n3 = c;
break;
}
case 7: {
final float n10 = n2 + c;
final float n11 = n3 + c;
n2 = n10 - d;
n3 = n11 + d;
break;
}
}
if (n2 > 1.0f || (n2 < 0.9f && n2 > 0.3f) || n2 < -1.0f || (n2 > -0.9f && n2 < -0.3f)) {
n2 *= 0.5f;
}
if (n3 > 1.0f || (n3 < 0.9f && n3 > 0.3f) || n3 < -1.0f || (n3 > -0.9f && n3 < -0.3f)) {
n3 *= 0.5f;
}
final float n12 = n3 * n3 + n2 * n2;
if (n12 >= 1.0E-4f) {
float c2 = getFriction(n12);
if (c2 < 1.0f) {
c2 = 1.0f;
}
final float n13 = e / c2;
final float n14 = n3 * n13;
final float n15 = n2 * n13;
final float a = Class1590.a((float)(b * 3.141592653589793 / 180.0));
final float b2 = Class1590.b((float)(b * 3.141592653589793 / 180.0));
final EntityPlayerSP thePlayer = MoveUtil.a.thePlayer;
thePlayer.motionX += n14 * b2 - n15 * a;
final EntityPlayerSP thePlayer2 = MoveUtil.a.thePlayer;
thePlayer2.motionZ += n15 * b2 + n14 * a;
}
}
They claim that they dont paste, this is just the beginning