Update to 1.21.3/1.21.4 (#399)
* Update to 1.21.3 part 1 Don't expect it to work anytime soon. * Update to 1.21.3 part 2 * Gradle 8.8 -> 8.12 * Working Build 1.21.3 Had to revert gradle to 8.10 due to unforseen issues. * Removed Unused Imports * Small rendering fixes (hopefully) * 1.21.4 port * Use Utils.canUpdate in AutoCraft * Intellij code fixes --------- Co-authored-by: crazymoose77756 <ryanrogo064@gmail.com> Co-authored-by: SByte <stormybytes@gmail.com>
This commit is contained in:
@@ -70,9 +70,9 @@ public class RejectsUtils {
|
||||
double xDir = Math.cos(Math.toRadians(dir + 90));
|
||||
double zDir = Math.sin(Math.toRadians(dir + 90));
|
||||
|
||||
((IVec3d) event.movement).setXZ(xDir * speed, zDir * speed);
|
||||
((IVec3d) event.movement).meteor$setXZ(xDir * speed, zDir * speed);
|
||||
} else {
|
||||
((IVec3d) event.movement).setXZ(0, 0);
|
||||
((IVec3d) event.movement).meteor$setXZ(0, 0);
|
||||
}
|
||||
|
||||
float ySpeed = 0;
|
||||
@@ -81,7 +81,7 @@ public class RejectsUtils {
|
||||
ySpeed += speed;
|
||||
if (mc.options.sneakKey.isPressed())
|
||||
ySpeed -= speed;
|
||||
((IVec3d) event.movement).setY(verticalSpeedMatch ? ySpeed : ySpeed / 2);
|
||||
((IVec3d) event.movement).meteor$setY(verticalSpeedMatch ? ySpeed : ySpeed / 2);
|
||||
|
||||
return ySpeed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user