Enabled fly button in movement, and set max value for fields as Integer.MAX_VALUE for various fields.

This commit is contained in:
luisc committed 2021-12-01 18:46:48 -06:00
1 parent 17eb612fb8
commit 44d4e74279
10 files changed
+30 -27

No files matched your search

@@ -73,6 +73,9 @@ public abstract class EntityNPCFlying extends EntityNPCInterface {
d5 = (double)MathHelper.sqrt_double(d3);
this.motionX += (d0 / d5 * 0.5D - this.motionX) * 0.6000000238418579D;
this.motionZ += (d1 / d5 * 0.5D - this.motionZ) * 0.6000000238418579D;
this.motionX *= this.ai.getWalkingSpeed()/10.0D;
this.motionZ *= this.ai.getWalkingSpeed()/10.0D;
}
}
}