
Fast Furnace for Fabric - Furnace Performance Optimization
This mod is an adaptation of the original FastFurnace by Shadows for the Fabric platform, designed to optimize the performance of standard furnaces in Minecraft.
The main purpose of the mod is to significantly speed up the update process of regular furnaces, blast furnaces, and smokers, which positively impacts overall server performance (TPS). Instead of scanning the entire recipe registry every time, the mod remembers the last used recipe and checks it first. This approach is particularly effective in modded environments where the number of recipes can be enormous.
Another important optimization concerns the calculation of fuel burn times. In the standard game version, a new mapping is created each time for this purpose, requiring additional computational resources. This mod caches this information, updating it only when datapacks are reloaded, which is especially noticeable when working with many furnaces simultaneously.
Additionally, a serialization bug has been fixed where burn times exceeding 32767 were ignored during game saving. All changes apply to all furnace types and should serve as an example for other mods working with smelting systems.
Important: The mod does not increase smelting speed but optimizes internal processes for better performance.
Requires Fabric Loader and Fabric API.