Make murky wings more controllable

This commit is contained in:
abel1502 2025-08-21 21:35:54 +03:00
parent 8ea7cf4080
commit ee1ffc98ba
No known key found for this signature in database
GPG Key ID: 076926596A536338

View File

@ -100,7 +100,7 @@ public class WingsMurk extends JetpackBase {
Vec3 orig = player.getLookVec();
Vec3 look = Vec3.createVectorHelper(orig.xCoord, 0, orig.zCoord).normalize();
double mod = player.isSneaking() ? 0.25D : 1D;
double mod = player.isSneaking() ? 0.25D : player.isSprinting() ? 1D : 0.5D;
if(player.moveForward != 0) {
player.motionX += look.xCoord * 0.35 * player.moveForward * mod;