Fast Recipe Search
Modby nutant233
Significantly speed up recipe search.
Type
Mod
CurseForge Downloads
422,451
CurseForge ID
1406509
Last Updated
Apr 13, 2026
Description
latest version of this mod requires installation on both the client and server sides (except for the Fabric version).
This mod significantly accelerates recipe lookup. Its mechanism involves building a tree based on hash codes of recipe ingredients, enabling rapid identification during searches. Compared to the original method of matching recipes one by one, it achieves a speedup of over 10 times, with the performance gap widening as the total number of recipes increases.
Furthermore, the mod Core library provides a high-performance recipe tree API. Other mods can also utilize this library, and since it doesn't rely on Minecraft code, even non-Minecraft projects can use it.
Compatibility:
This mod is compatible with any mod that uses the original recipe manager for searching recipes. It is completely incompatible with Recipe Essentials (or FastSuite), as they optimize the same part of the system. According to my test results, installing this mod is sufficient—it offers better optimization and compatibility. Recipe Essentials relies on caching (which generally performs poorly), while FastSuite uses parallel processing (distributing performance consumption across multiple threads and potentially introducing compatibility issues).
Regarding Client Crafting, there is no conflict, but it first searches on the client side and then waits for the server to send search results. Since this mod significantly optimizes search speed on the server side, Client Crafting becomes less meaningful. Additionally, this mod only optimizes the server-side portion, leaving the client-side recipe manager using the original method. This could result in a negative optimization state where the client is still searching while the server has already completed its search.
FastFurnace and FastWorkbench are compatible.
Performance Analysis
In vanilla:
- Recipe searches are 8.36x to 85.95x faster
- Most basic recipes see improvements between 8-40x
- Failed matches are handled 28.11x faster
In ATM9 (heavy modpack):
- The improvements become even more dramatic, ranging from 133.19x to 6942.47x faster
- Basic recipes like sticks and crafting table see improvements of over 5000x
Test Result
Vanilla
[19:27:59] [Server thread/INFO] [fastrecipesearch/]: [Fast Test] - Took an average of 9130.97 ns to find the recipe for acacia planks [19:28:00] [Server thread/INFO] [fastrecipesearch/]: [Default Test] - Took an average of 85468.055 ns to find the recipe for acacia planks Gap: 8.36x faster
[19:28:00] [Server thread/INFO] [fastrecipesearch/]: [Fast Test] - Took an average of 1149.77 ns to find the recipe for sticks [19:28:01] [Server thread/INFO] [fastrecipesearch/]: [Default Test] - Took an average of 98866.69 ns to find the recipe for sticks Gap: 85.95x faster
[19:28:01] [Server thread/INFO] [fastrecipesearch/]: [Fast Test] - Took an average of 989.36 ns to find the recipe for crafting table [19:28:02] [Server thread/INFO] [fastrecipesearch/]: [Default Test] - Took an average of 39704.348 ns to find the recipe for crafting table Gap: 40.14x faster
[19:28:02] [Server thread/INFO] [fastrecipesearch/]: [Fast Test] - Took an average of 7168.7905 ns to find the recipe for black shulker box [19:28:03] [Server thread/INFO] [fastrecipesearch/]: [Default Test] - Took an average of 99736.78 ns to find the recipe for black shulker box Gap: 13.91x faster
[19:28:03] [Server thread/INFO] [fastrecipesearch/]: [Fast Test] - Took an average of 3845.24 ns to find the recipe for failed match [19:28:04] [Server thread/INFO] [fastrecipesearch/]: [Default Test] - Took an average of 108064.26 ns to find the recipe for failed match Gap: 28.11x faster
ATM9
[20:05:20] [Server thread/INFO] [fastrecipesearch/]: [Fast Test] - Took an average of 36147.832 ns to find the recipe for acacia planks [20:06:48] [Server thread/INFO] [fastrecipesearch/]: [Default Test] - Took an average of 8826844.0 ns to find the recipe for acacia planks Gap: 244.16x faster
[20:06:48] [Server thread/INFO] [fastrecipesearch/]: [Fast Test] - Took an average of 2543.54 ns to find the recipe for sticks [20:09:20] [Server thread/INFO] [fastrecipesearch/]: [Default Test] - Took an average of 1.5240665E7 ns to find the recipe for sticks Gap: 5992.52x faster
[20:09:20] [Server thread/INFO] [fastrecipesearch/]: [Fast Test] - Took an average of 1175.53 ns to find the recipe for crafting table [20:10:42] [Server thread/INFO] [fastrecipesearch/]: [Default Test] - Took an average of 8158714.5 ns to find the recipe for crafting table Gap: 6942.47x faster
[20:10:42] [Server thread/INFO] [fastrecipesearch/]: [Fast Test] - Took an average of 8131.2 ns to find the recipe for black shulker box [20:13:04] [Server thread/INFO] [fastrecipesearch/]: [Default Test] - Took an average of 1.4163565E7 ns to find the recipe for black shulker box Gap: 1742.03x faster
[20:13:05] [Server thread/INFO] [fastrecipesearch/]: [Fast Test] - Took an average of 128783.62 ns to find the recipe for failed match [20:15:57] [Server thread/INFO] [fastrecipesearch/]: [Default Test] - Took an average of 1.7153812E7 ns to find the recipe for failed match Gap: 133.19x faster
Screenshots
Similar Mods
Portable Crafting Table
This mod adds a Portable Crafting Table(a item) for crafting without the need to place anything
Castle Dungeons [Forge & Fabric]
Procedurally generated castles
Waystones2Waypoints
Automatically adds a waypoint to Xaero's Minimap when activating a Waystones
Torcherino
Torch that speeds up tile entities.
Forgiving World - Dimension Stacking[Forge/Fabric]
Connect dimension floor and ceiling to other dimensions in any fashion possible
More Plates
This mod adds some Gears, Plates and Rods