
CubeUI
A lightweight, modular UI library for Forge featuring a robust theming engine, 9-slice rendering, and essential widgets for building scalable interfaces.
- Загрузки
- 129
- Подписчики
- 0
- Обновлён
- 30 декабря 2025 г.
- Лицензия
- MIT
Опубликован 30 декабря 2025 г.
CubeUI (Library)
Last Update:
- Version: 0.1.0 – beta
- Date: 2025-12-29
- Highlights: Added Theme Engine; implemented 9-slice rendering system; added essential widgets; implemented debug overlay.
- Status: first beta
CubeUI is a lightweight, modular UI Library for Minecraft Forge. It provides a robust framework for creating complex, scalable user interfaces with built-in theming support and high-performance rendering helpers. Designed to make modding UIs easier and more consistent.
Features
- Advanced Theming System: A centralized
ThemeManagerallows hot-swapping textures and styles for all registered widgets. - Smart Rendering: Built-in 9-slice (panels) and 3-slice (buttons/fields) rendering support. No more stretched textures.
- Essential Widgets: Includes a collection of standard, themable widgets ready for immediate implementation.
- Debug Tools: Includes a built-in debug overlay for developers (Press
Ctrl + Shift + U). - Vanilla Friendly: The default theme mimics the vanilla aesthetic perfectly but can be fully customized.
Usage
Full documentation and implementation examples are available on the wiki (click the Documentation badge above).
To access the developer debug menu in-game, use: CTRL + SHIFT + U
Requirements
- Minecraft: Forge 1.20.1+ (Check file versions)
- Loader: Forge Only
- Dependencies: None (Standalone Library)
License
MIT – free to use in your own projects, modpacks, and addons.
Центр версий
1 версийЧенджлог
0.1.0Бета1.20.1 · 30 декабря 2025 г.
Version: 0.1.0 – Beta
Date: 2025-12-29
Features
- Core Engine: Initial release of the CubeUI library framework.
- Theme System: Implemented
ThemeManagerfor centralized UI styling. Added defaultVanillaThememimicking standard Minecraft aesthetics. - Smart Rendering: Added
CuiRenderHelperwith support for 9-slice (panels) and 3-slice (buttons/text fields) rendering to prevent texture stretching. - Widget Library:
CuiButton: Themable button with hover/disabled states.CuiPanel: scalable background panel.CuiSlot: Item slot container with custom highlighting.CuiTextField: Input field with placeholder text support.CuiArrow: Progress arrow widget.
- Developer Tools: Added in-game Debug Overlay accessible via
Ctrl + Shift + U. - Commands: Added
/cui_invcommand for testing inventory containers.
Комментарии
Загружаем…