IronFurnacesFix
Fixes the lag and memory issues that appear when running BiggerStacks together with Iron Furnaces (更多熔炉).
What it fixes
- Memory / inventory blow-up: when BiggerStacks raises the stack limit (e.g. to 100k), Iron Furnaces was rebuilding its inventory with 100000+ slots on load, which blew up memory and made every save/sync slow. This fix restores the original slot count.
- Tick lag while smelting: the mult-smelting methods ran a per-item
setRecipeUsedloop up to 100000 times every tick, which froze the game. The fix removes the loop (the result is identical) and derives the smelting cap fromgetMaxStackSize().
Your large stack sizes keep working — furnaces just stop lagging.
Compatibility
| Component | Version |
|---|---|
| Minecraft | 1.20.1 |
| Forge | 47.4.x |
| Iron Furnaces | 4.1.8 (required) |
| BiggerStacks | any (not required at build time) |
License
GNU GPL v3. Based on Iron Furnaces by mollgan.

