Super Fast Math-ReFoxed
Modby manel740
A lightweight fabric mod that changes the sin and cos for better math.
Type
Mod
CurseForge Downloads
29,550
CurseForge ID
1670741
Last Updated
Oct 11, 2026
Description
Fast Math — NeoForge
Fast Math — NeoForge is an unofficial NeoForge port of the original Fast Math Fabric mod (also known as Super Fast Math), created by EliasB.
Fast Math is a lightweight optimization mod focused on improving the performance of frequently executed mathematical operations in Minecraft. Instead of relying entirely on Java's standard math implementations, it replaces selected operations with optimized alternatives designed to reduce computational overhead while preserving Minecraft's expected behavior — no configuration required.
What Does It Optimize?
Fast Math targets mathematical operations that run extremely frequently throughout Minecraft's game loop.
Sine & Cosine — replaced with an optimized, dynamically initialized lookup table, cutting the cost of repeated trigonometric calculations used in entity movement, orientation, AI, and other game logic.
Square Root — uses a faster square-root implementation where applicable, reducing the overhead of repeated calculations.
Floor & Clamp — optimized implementations of these commonly used operations.
Entity Orientation — faster math benefits rotation and movement calculations.
The atan2 optimization has been reverted to exact mathematical behavior, to avoid potential projectile-angle inaccuracies.
Interpolation — lerp operations optimized using fused multiply-add where applicable.
BlockPos — optimized bit-packing for faster block/chunk coordinate encoding and decoding.
Performance
The original Fast Math project was benchmarked on a superflat world with 200 zombies pathfinding, active redstone, /gamerule randomTickSpeed 1000, and Spark profiling:
Metric Vanilla Fast Math Improvement TPS (1 min) 14.13 20.00 +41% TPS (5 min) 14.94 19.88 +33% MSPT median 51.4 ms 43.4 ms -8 ms MSPT max spike 202 ms 153 ms -24%Tested on Java 25, Intel Core i5-12400F, Minecraft 26.1.2 with Fabric.
These gains are most noticeable with large numbers of entities, mob farms, redstone-heavy builds, complex AI simulations, and frequent chunk/coordinate calculations. Actual results depend on your CPU, Minecraft version, world, entity count, and other installed mods.
Note: these benchmarks come from the original Fabric project and are not benchmarks of this NeoForge port.
Client & Server
Fast Math works on both client and server. Server environments with heavy entity simulation or complex worlds may see reduced mathematical overhead, while clients also benefit from faster calculations during normal gameplay.
Zero Configuration
Install it and play. There are no config files or settings to tune — the optimizations apply automatically when Minecraft starts.
Compatibility
Fast Math is lightweight and designed to work alongside other performance and optimization mods, including Sodium, other rendering optimizations, server performance mods, and general gameplay mods.
Compatibility can still vary depending on Minecraft version, NeoForge version, and other installed mods. If you run into a crash or incompatibility, please report it with:
- Minecraft version
- NeoForge version
- Fast Math version
- Java version
- Installed mods
- Full crash report or relevant log
Requirements
- Minecraft 1.21.1
- NeoForge
- Java 21
Fabric API is not required — this is a native NeoForge port and does not depend on the Fabric loader.
Important
This project is an unofficial NeoForge port of the original Fast Math mod, created by EliasB. It is not affiliated with, endorsed by, or officially maintained by EliasB unless explicitly stated otherwise. For the original project and official information, see the original creator's CurseForge page.
Credits
Original Fast Math creator: EliasB
All credit for the original Fast Math concept, implementation, and optimizations belongs to its original creator. This project exists to bring Fast Math's optimization approach to the NeoForge community.
Original project: Super Fast Math on CurseForge
Fast Math — NeoForge Optimize the math. Keep Minecraft moving.Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Create Sable Dynamic Lights
A bridge between Sodium Dynamic Lights and the Create mod as well as the Sable mod used for mods like Create: Aeronautic...
Immersive Engineering Tweaks
Small tweaks for Immersive Engineering
Simple Health Bar (Forge/Fabric)
Simple Health Bar mod that changes the way your health is displayed
Sunflower Delight
A Sunflower Addon for Farmer's Delight, Forge/NeoForge Version
Time HUD
Adds the time and date to the Minecraft HUD; highly configurable
Wool Pressure Plates
Adds silent pressure plates made of wool.