▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Super Fast Math
Super Fast Math

Super Fast Math

A lightweight fabric mod that upgrades math in minecraft

323.9K
159



Super Fast Math is a lightweight Fabric mod designed to optimize core mathematical operations and game logic inside Minecraft. Instead of relying solely on default implementations, this mod replaces several frequently used math functions and systems with high-performance alternatives.

⚡ What It Optimizes

  • Faster sine & cosine via optimized lookup tables
  • Hardware-accelerated square root (native SQRTSS instruction)
  • Improved floor and clamp operations
  • Faster atan2 for entity orientation*
  • Optimized interpolation (lerp) using fused multiply-add
  • BlockPos bit-packing for faster chunk coordinate encoding

📊 Benchmarks

Tested on a superflat world with 200 zombies pathfinding, active redstone, and /gamerule randomTickSpeed 1000. Tested with Spark.

MetricVanillaSuperFastMathImprovement
TPS (1m)14.1320.00+41%
TPS (5m)14.9419.88+33%
MSPT median51.4ms43.4ms-8ms
MSPT max spike202ms153ms-24%

Tested on Java 25, i5-12400F, Minecraft 26.1.2 with Fabric

🚀 Why?

These optimizations affect:

  • Entity movement & AI orientation
  • Chunk loading and coordinate math
  • Redstone and collision detection
  • World math utilities

Both client and server benefit from this mod. Server operators running mob farms, or high entity counts will see the most improvement.

🧠 Technical Notes

  • Patches Mth, BlockPos via Mixin
  • Designed for Fabric
  • Lightweight with zero configuration
  • Works server-side and client-side
  • Compatible with Sodium and other performance mods (for the most part, create an issue if this still errors)

⚠️ Notes

  • *The atan2 replacement has been reverted to exact math to prevent projectile angle errors

Super Fast Math keeps Minecraft's behavior intact while improving execution speed where it matters most.

Совместимость

Minecraft: Java Edition

26.1.x1.21.x

Платформы

Поддерживаемые окружения

Клиент

Создатели

Детали

Лицензия:MIT
Опубликован:1 год назад
Обновлён:3 недели назад
Главная