FastFurnace Mod (1.19.2, 1.18.2) modifies the vanilla furnace to make it run faster during an update.
FastFurnace Mod – 1.19.2, 1.18.2 – Cook Food In Seconds
- Food Mods
- Minecraft 1.12.2 Mods
- Minecraft 1.14.4 Mods
- Minecraft 1.15.2 Mods
- Minecraft 1.16.5 Mods
- Minecraft 1.17.1 Mods
- Minecraft 1.18.1 Mods
- Minecraft 1.18.2 Mods
- Minecraft 1.19.2 Mods
- Server Utility Mods
Similar to FastWorkbench, it caches the last recipe used and checks this recipe first before re-scanning the entire registry. This is significantly faster due to the vanilla furnace scanning the entire furnace registry each tick, which may be fine for vanilla, but in a modded environment, gets very large very quickly.
Additionally, the mod fixes a bug in serialization of the furnace, which would cause burn times above 32767 to be ignored during saving (as the burn time was cast to a short even though an int was written).
These changes only apply to the vanilla furnace. Mods should follow the same practices that this mod does in order to ensure fewer loops over the smelting list.
For people who like numbers, here is Vanilla vs FastFurnace:
This is 9 furnaces each smelting cobblestone the entire time the test was conducted. The number of invocations is kept roughly the same as to not skew any numbers. This test was conducted in vanilla, which only has ~70 furnace recipes. In a modpack, there could be upwards of 700, significantly increasing the performance gain.