Leiv's GUI Engine
Modby Leiv436
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.
Description
🎨 Leiv's GUI Engine
Leiv's GUI Engine is the visual rendering framework and interface library of the Leiv Ecosystem Suite.
While Leiv's API handles the logic and Leiv's Translation API manages the text, this library powers everything you actually see on screen. It is a highly optimized, cross-loader system designed to render dynamic HUDs, interactive configuration menus, and responsive tooltips. It ensures that mods like Keybind Profiles and ItemCuller have beautiful, highly customizable, and consistent user interfaces across all mod loaders.
⚠️ PLAYER NOTE: This is a required core dependency for user interface and HUD-driven mods within the Leiv Ecosystem. It does not add standalone content to the game, but must be installed alongside any of my utility mods to display their overlays and menus correctly!
✨ Key Features
- 🎨 Modular HUD System: Features a dynamic HUD anchor system that allows mod overlays to be easily toggled on/off and snapped to any corner of the screen (Top-Left, Bottom-Right, etc.).
- ✨ Consistent Visual Identity: Ensures all mods within the ecosystem share the same polished, high-performance UI design.
- 🚀 Lag-Free Rendering: Highly optimized draw calls ensure that complex on-screen overlays and menus never impact your frame rate (FPS).
- 🧩 Interactive Tooltips: Seamlessly integrates with Leiv's Translation API to display dynamic, data-driven tooltips instantly when hovering over settings.
🛠️ Technical Highlights (For Developers & Modpack Creators)
Leiv's GUI Engine abstracts complex, loader-specific screen drawing routines into a developer-friendly pipeline:
- 🖥️ HudAnchor Abstraction: A centralized positioning utility that automatically calculates dynamic X/Y coordinates based on
Window/ScaledResolutionsizes and user configurations. - ⚙️ Rule-Driven Menus: Automatically translates
ValueRule<T>configuration objects from Leiv's API into fully interactive buttons, sliders, and toggles without requiring manual UI coding. -
📦 Cross-Loader UI: Provides a unified rendering pipeline that completely abstracts the differences between Forge, NeoForge, and Fabric's GUI screens.
- 🪟 Safe Screen Injection: Safely hooks into the game's native render thread to inject custom HUD overlays and configuration screens cleanly and compatibly.
🔗 Dependencies
This library brings the underlying logic of the ecosystem to life on your screen:
- Requires: Leiv's Lib, Leiv's API & Leiv's Translation API (Make sure they are installed!)
- Used By: Leiv's Config Menu, Keybind Profiles, ItemCuller, EnderStash, Sneak Auto Crop, and all other GUI-enabled Leiv Ecosystem mods.
💬 Community & Support
Got questions, feedback, or need to report a bug? Join the community!
- 👥 Discord: Join Leiv's Community
- 🐛 Issue Tracker: Report bugs via the official Discord ticket system.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Armor Stand's Custom Poses
Change Pose and Properties of your Armor Stands. Even in survival!
Fakeplayer Chunkloader
Keep chunks loaded automatically with fake players! Features live HUDs, interactive chunk map, dual-mode operation (mob...
Big Globe - Unwrecked Ships Compatibility
Big Globe - Unwrecked Ships Compatibility
Air Balloons
Adds balloons floating in the sky and filled with interesting, balanced loot. Vanilla look style. Allows you to sometime...
Item Scrapper Pack - VPB
Item Scrapper Pack for VBP
notblue's Vegan Recipes
Craft most peaceful and hostile mob drops using vegan base ingredients