Lon

A lightweight performance optimizer for low-end PCs, with smart chunk pre-generation, TPS monitoring, and auto memory management.
2026-05-10_11.47.50.png

2026-05-10_11.47.50.png

Description

Lon  is a lightweight performance mod designed for low-end PCs. It tackles lag through smart chunk pre-generation, real-time server monitoring, and automatic memory management.

Key Features:

  • /pregen <radius>  — Pre-generate chunks ahead of time to eliminate exploration lag. The generation runs safely on the server thread with batch processing to prevent strain.

  • /lon tps  — Check server TPS with colour-coded feedback:

    • 🟢 Green (≥19.0): Smooth

    • 🟡 Yellow (≥15.0): Moderate load

    • 🔴 Red (<15.0): Heavy lag

  • /lon memory  — View current memory usage, total allocated, and maximum heap.

  • /lon memory gc  — Manually trigger garbage collection and see exactly how much memory was freed.

  • Auto GC  — Automatically triggers garbage collection when memory usage exceeds 80%, with a built-in cooldown to avoid performance impacts.

  • Built-in object pooling and string deduplication that silently reduce memory allocation pressure.

Commands Overview:

 
 
CommandDescription
/pregen <radius>Pre-generate chunks around you
/pregen stopStop active pre-generation
/pregen statusCheck pre-generation progress
/lon tpsDisplay server TPS
/lon memoryShow memory usage
/lon memory gcForce garbage collection

Requirements:

  • Minecraft 26.1.2

  • Fabric Loader ≥ 0.19.1

  • Fabric API 0.148.0+26.1.2

  • Java 25

Recommended Mods:
Pair Lon with Sodium, Lithium, and FerriteCore for the ultimate low-end optimization stack.

Note:  An on-screen HUD (FPS/memory display) is planned but temporarily disabled due to Fabric API instability in Minecraft 26.1.2. All commands work in both single-player and multiplayer.

Enjoy smoother gameplay on your PC!

The Lon Team

profile avatar
Owner
  • 1
    Projects
  • 94
    Downloads