
fast
Create me a mod which optimizes minecrafts core logic to make it run well at 100 players in survival without impacting gameplay
00—neoforgeServer1.21.1mod
Fast mod overview
- Server-only NeoForge mod (
fast) aimed at smoothing performance spikes on busy survival servers; safe for vanilla clients because it avoids custom registries or assets. - Main features: staggered world saves to avoid 5-minute I/O spikes, spawn warmup that gradually loads a small ring of chunks around each dimension’s spawn, and lightweight tick profiling to keep tabs on server health.
How it works
- The mod is registered with
Dist.DEDICATED_SERVERso it only loads on servers. - Save balancer spreads level saves across ticks and adapts the interval based on online player counts, skipping cycles when the rolling tick average is already high.
- Spawn preloader queues a 5x5 chunk area around spawn and processes a few chunks each tick so the first join wave doesn’t trigger a large synchronous generation burst.
- Tick metrics keep a rolling average of tick times and estimated TPS; operators can inspect it with
/fastor/fast status.
Using the mod
- Drop the built JAR into the server’s
modsfolder; no client installation required. - Use
/fast status(requires operator permission) to view current tick averages, TPS estimate, pending warmup chunks, and save batches.
Notes and future ideas
- Spawn warmup radius is intentionally small to stay lightweight; raise it in code if your spawn area is larger or pre-generated.
- The save balancer complements vanilla autosaves rather than replacing them; keep normal backups enabled.
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.