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.
介绍
🎨 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.
常见问题
Leiv’s GUI Engine 支持哪些 Minecraft 版本?
Leiv’s GUI Engine 支持 Minecraft Java 版 1.20.1–26.2,共 4 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Leiv’s GUI Engine 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
leiv436 的其他作品
查看全部 →ItemCuller
Improves performance by not rendering dropped items outside the player's view. Lightweight, client-side optimization for smoother gameplay.
Leiv’s Lib
Leiv's Lib is the lightweight core framework required to power all mods in the Leiv Ecosystem Suite, optimizing performance and streamlining core mechanics under the hood.
Leiv’s API
Leiv's API is the mandatory, highly reliable core library that manages configurations, validation, and system rules for all mods created by Leiv.
Mystic Arts & Spellbooks
A custom modpack built around Iron's Spells 'n Spellbooks and my favorite add-ons! Enhance your magical adventure with new spells, dungeons, weapons, world features and more!
评论
登录后评论和评分