Fast Recipes

Quick rating

Fast Recipes

No reviews yet

Minecraft's recipe system optimization

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

About

Project Details

Type
Mod
Latest Version
fastrecipes-fabric-1.0.jar
Authors

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

Resources

External Links

Source Issues Wiki Discord

About

Description

FastRecipes

FastRecipes is a high-performance mod that drastically optimizes Minecraft's recipe system. It replaces the inefficient linear search algorithms with intelligent caching and hash-based indexing.

Does your server lag when someone opens a crafting table? Does your game freeze when looking up recipes in JEI/REI? FastRecipes fixes the root cause.


Why FastRecipes?

In massive modpacks (like All The Mods 9), there are over 100,000 recipes. Vanilla Minecraft checks them one by one (O(N) complexity). Other optimization mods try to brute-force this using multithreading.

FastRecipes is different. We index all recipes by their inputs. Instead of checking 50,000 recipes, we only check the 5-10 that actually match your items (O(1) complexity).

Comparison

Feature FastSuite FastRecipes
Approach Multithreading / Brute-force Smart Indexing & Caching
Algorithm Linear Search O(N) Constant Lookup O(1)
Overhead High (Thread locking/Sync) Zero (Instant lookup)
Speed Faster than Vanilla Instant

Benchmarks

Tests were conducted on a Threadripper 1950x using the All The Mods 9 modpack (100k+ recipes). Time is in milliseconds (ms). Lower is better.

The "Heavy Load" Test (ATM 9)

The most critical scenario is a "Failed Match" (when you put items in a grid that don't result in a valid recipe). Vanilla Minecraft scans every single recipe before giving up, causing massive lag spikes.

Scenario FastSuite FastRecipes Vanilla Improvement
Simple Craft 0.65ms 0.13ms 15.98ms ~117x Faster
Complex Craft 1.06ms 0.03ms 22.93ms ~774x Faster
Failed Match 2.93ms 0.12ms 40.56ms ~313x Faster

The "Light Load" Vanilla

Even with few recipes, FastRecipes outperforms due to zero thread overhead.

Test Case FastSuite FastRecipes Vanilla
Simple Item 0.1027 ms 0.0050 ms 0.0810 ms
Full Grid 0.0821 ms 0.0008 ms 0.0697 ms
Failed Match 0.0952 ms 0.0037 ms 0.1482 ms

Configuration & Troubleshooting

FastRecipes is designed to be stable. However, some mods utilize "unsafe" recipe serializers that may crash during our Parallel Loading phase.

If you crash during startup (at the "Loading Recipes" stage), you can fix it easily:

  1. Open config/fastrecipes-common.toml.
  2. Set UseAsyncRecipesLoader to false.

Note: This only affects startup speed. The in-game crafting performance will remain ultra-fast.

Verify it yourself!

Don't trust our numbers? Run the benchmark on your own PC!

  1. Go to config/fastrecipes-common.toml.
  2. Set BenchmarkMode to true.
  3. Start your game/server.
  4. Check the logs after the first tick. The mod will run 10,000 iterations of various crafting scenarios and print the results.

(Don't forget to turn it off afterwards to avoid unnecessary calculations on startup!)


Why no 1.21 port?

Minecraft 1.21 includes native optimizations to the recipe system. The performance gap between Vanilla and FastRecipes in 1.21 is negligible (<1ms), rendering this mod unnecessary. We recommend sticking to Vanilla for 1.21+.


Credits

  • Algorithm & Code: Sixik
  • Testing Methodology: Adapted from FastSuite to ensure fair comparison.

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

~24,000
Downloads
Last Updated
Created
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