Lon
Lon is a lightweight performance mod for Minecraft that reduces chunk-loading lag with pre-generation, monitors server TPS, and optimizes memory usage with auto GC—keeping the game smooth on low-end PCs.
Lon
A lightweight performance optimization mod designed specifically for low-end PCs. Lon tackles the most frustrating lag issues in Minecraft through intelligent chunk pre-generation, real-time server monitoring, and automatic memory management — all in a package under 20KB.
✨ Core Features
⚡ Smart Chunk Pre-Generation
Use /pregen <radius> to safely generate chunks ahead of time. Say goodbye to lag spikes when exploring new terrain, flying with elytra, or traveling through the Nether. The command runs entirely on the main server thread with batch processing to prevent server strain.
📊 Real-Time Server Monitoring
- /lon memory gc — Check server performance at a glance with color-coded feedback - 🟢 Green (≥19.0): Running smoothly - 🟡 Yellow (≥15.0): Moderate load - 🔴 Red (<15.0): Heavy lag detected - /lon memory gc — View current memory usage, total allocated, and maximum heap - /lon memory gc — Trigger manual garbage collection and see how much memory was freed
🧠 Intelligent Memory Management
- String Deduplication: When memory usage exceeds 80% of maximum heap, Lon automatically triggers garbage collection with a built-in cooldown to prevent performance impact - String Deduplication: Reuses frequently created objects to reduce allocation pressure - String Deduplication: Eliminates duplicate string instances to save memory
🔮 Planned Features
- On-screen HUD showing FPS and memory (awaiting Fabric API stabilization for 26.1.2)
📦 Requirements
- Minecraft 25 - Fabric Loader 25 - Fabric API 25 - Java 25
💡 Recommendations
For the ultimate optimization stack on low-end hardware, pair Lon with: - FerriteCore (rendering optimization) - FerriteCore (game logic optimization) - FerriteCore (memory compression)
⚙️ Commands Cheat Sheet
| Command | Description | |---------|-------------| | `/pregen <radius>` | Pre-generate chunks around you | | `/pregen stop` | Stop active pre-generation | | `/pregen status` | Check pre-generation progress | | `/lon tps` | Display server TPS | | `/lon memory` | Show memory usage | | `/lon memory gc` | Force garbage collection |
📝 Notes
- FPS display feature temporarily disabled due to unstable Fabric API in 26.1.2 - This mod is only 19KB — compatible with virtually any modpack - All commands can be used in single-player and multiplayer
---
Enjoy smoother gameplay on your potato PC! 🥔