promotional bannermobile promotional banner

FrameOpt

Merges dropped items and auto-tunes simulation distance to keep co-op worlds smooth.

FrameOpt

Small, focused optimizations for co-op and LAN play that the usual performance mods (Sodium, Lithium, FerriteCore...) don't cover. Made for the Hearthwork modpack, but works in any NeoForge 1.21.1 setup.

Features

Item Merge
Tree-felling and vein-mining mods can drop dozens of items at once, and every item on the ground is an entity the server has to tick. FrameOpt merges identical nearby drops into full stacks using a 2.5-block radius (vanilla only uses 0.5).

Tick Guard
If the server (or the player hosting a LAN world) goes above 45 ms per tick, FrameOpt lowers the simulation distance by one chunk every 5 seconds, down to a minimum of 5. When the lag is gone, it slowly restores your original setting. This works both on dedicated servers and on LAN/integrated worlds.

/frameopt
Shows live stats in chat: ms per tick, items merged and current simulation distance.

Benchmark (off by default)
When enabled, writes logs/frameopt-bench.csv every second with average FPS, 1% low, frames over 50 ms and GC pauses. Useful to find the cause of stutters.

Configuration

Everything is configurable in config/frameopt-common.toml: merge radius, merge interval, tick-time thresholds, minimum simulation distance and the benchmark toggle.

Compatibility

  • Minecraft 1.21.1, NeoForge 21.1+
  • Required on the server/host. Clients can have it too (needed for the benchmark and for LAN hosts).
  • Designed to run alongside Sodium, Lithium, FerriteCore, ModernFix and other performance mods.

License

MIT. Feel free to include it in any modpack.

FrameOpt Team

profile avatar
  • 1
    Projects
  • 13
    Downloads