Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Lon is a lightweight performance mod (only ~45KB) crafted for low-end PCs. It combines smart chunk pre-generation, real-time server monitoring, intelligent memory management, and an on-screen performance HUD to ensure smooth gameplay without bloat.
🖥️ Real-Time Performance HUD Keep an eye on FPS, memory usage, and TPS directly in the top-left corner of your screen. The HUD is color-coded, adapts to GUI scale, and hides automatically when the screen is hidden.
⚡ Core Features /pregen <radius> – Pre-generate chunks safely on the main thread to eliminate exploration lag. Includes stop and status controls.
/lon tps – Check server TPS with green/yellow/red feedback for instant performance insight.
/lon tps history – View the average and lowest TPS over the last 5 minutes.
/lon memory – Display current memory usage, allocated, and max heap.
/lon memory gc – Manually trigger garbage collection and see freed memory.
/lon entities – Count total entities, hostile mobs, passive mobs, and dropped items.
/lon chunks – Show loaded chunk count.
/lon report – Generate a one-command performance snapshot (TPS, memory, entities, chunks).
/lon help – List all available Lon commands.
🛡️ Background Guardians Auto GC – Automatically triggers garbage collection when memory usage exceeds 80% (cooldown 1 minute).
Entity overload warning – Notifies all players when the total entity count exceeds 500.
TPS history – Silently records per-minute TPS for retrospective analysis.
Object pooling & string deduplication – Reduce memory allocation pressure transparently.
📦 Requirements Minecraft 26.1.2
Fabric Loader ≥ 0.19.1
Fabric API 0.145.4+26.1.2
Java 25
💡 Perfect Companions For the ultimate low-end optimization stack, pair Lon with Sodium, Lithium, and FerriteCore.
📝 Note The on-screen HUD was implemented using the standard Fabric API HUD system (HudElementRegistry) and is fully compatible with Minecraft 26.1.2. No experimental Mixins are used, ensuring maximum stability.


