Super Fast Math

Quick rating

Super Fast Math

No reviews yet

A lightweight fabric mod that changes the sin and cos for better math.

No Theme
No Genre
QoL & Tweaks
Performance & Optimization
Mod Loaders
Forge
NeoForge
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

CurseForge logo CurseForge Modrinth
No longer available on Modrinth

Compatibility

Supported Environments

Dev Environment
Client Required
Server Unsupported

About

Project Details

Type
Mod
License
MIT License
Latest Version
superfastmath-0.0.4-26.1.2.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

tPWHBJh.png
 rIQr6J6I?logo=modrinth&color=coolgreen  environment-client-1976d2    


Super Fast Math is a lightweight Fabric mod designed to enhance the performance of trigonometric calculations in Minecraft. By replacing the standard sine and cosine functions with a precomputed lookup table which is faster computed than a normal table thanks to java FastMath and dynamical initialisation, it significantly reduces computation time, resulting in smoother and faster mathematical operations.

You will need Fabric API for this mod!


tPWHBJh.png

rIQr6J6I?logo=modrinth&color=coolgreen environment-client%20%2B%20server-1976d2 modloader-Fabric-1976d2?color=beige

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.

Metric Vanilla SuperFastMath Improvement
TPS (1m) 14.13 20.00 +41%
TPS (5m) 14.94 19.88 +33%
MSPT median 51.4ms 43.4ms -8ms
MSPT max spike 202ms 153ms -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.

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~500,000
Total Downloads
CurseForge
~96,000
Modrinth
~400,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works