Fixing tons of issues

- Fixing Velocity B falses
- Fixing lilypad false positives by accounting for it on interact.
- New Block (A) with block place interaction check
- Fixing Block B false positive.
- Fixing Horizontal false positive and bypass
- Fixing Fly (B) on liquids and climables.
- Fixing Fly (A) on liquids and climables
This commit is contained in:
Dawson
2022-08-22 16:37:55 -04:00
parent dccbdc0552
commit bac904f852
19 changed files with 228 additions and 101 deletions
@@ -33,6 +33,10 @@ public class MathUtils {
current - (float)Math.floor(current / previous) * previous);
}
public static double lerp(double lerpAmount, double start, double end) {
return start + lerpAmount * (end - start);
}
public static boolean isScientificNotation(double value) {
return String.valueOf(value).contains("E");
}