promotional bannermobile promotional banner

Leiv's GUI Engine

Leiv's GUI Engine is a lightweight, high-performance UI framework that powers modern, seamless, and unified menus and live HUD overlays across all my mods.
Back to Files

Leiv's GUI Engine_NeoForge_1.21.1 (v.1.0.0)

File nameLeiv's GUI Engine_NeoForge_1.21.1 (v.1.0.0).jar
Uploader
Leiv436Leiv436
Uploaded
Aug 14, 2026
Downloads
7
Size
28.6 KB
Mod Loaders
NeoForge
File ID
8650334
Type
B
Beta
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:leivs-gui-engine-1652879:8650334"

Learn more about Curse Maven

What's new

🚀 Initial Release: Leiv's GUI Engine v1.0.0 (NeoForge 1.21.1)

Welcome to the initial release of Leiv's GUI Engine for NeoForge 1.21.1! This library establishes the visual foundation for the entire Leiv Ecosystem, providing high-performance overlays, dynamic menus, and interactive tooltips.

✨ Features & Additions

  • 🎉 Initial Release: Fully ported and optimized for NeoForge 1.21.1.
  • 🎨 Modular HUD System: Introduced the HudAnchor positioning system. Mods can now easily register HUD overlays that players can freely toggle and snap to any screen corner (Top-Left, Top-Right, Bottom-Left, Bottom-Right).
  • ⚙️ Rule-Driven UI: Added automatic UI generation. The engine now seamlessly reads ValueRule<T> objects from Leiv's API to build interactive buttons, sliders, and toggles dynamically.
  • 📝 Dynamic Tooltips: Integrated instant tooltip rendering. Hovering over any generated setting will now perfectly display localized descriptions via Leiv's Translation API.

🛠️ Technical & API Details (For Developers)

  • 🖥️ Safe Screen Injection: Implemented robust rendering hooks for NeoForge to ensure custom HUDs and config screens are drawn safely on the main render thread without causing FPS drops.
  • 📐 Resolution Scaling: Overlays now automatically calculate correct X/Y coordinates based on the user's GUI Scale and current window resolution.

🔗 Dependencies

To use this version, please ensure the following libraries are installed in your mods folder:

  • Requires: Leiv's Lib (v1.0.0+)
  • Requires: Leiv's API (v1.0.0+)
  • Requires: Leiv's Translation API (v1.0.0+)