Modern GUI
A mod framework for graphical elements, layouts, Modern features like search dropdowns, hover tips, and various chart element (line, bar, pie) and modes.
截图
介绍
Modern GUI is a reusable client-side GUI framework for Minecraft mods, built to make complex interfaces easier to create, scale, theme, and maintain.
It provides a retained layout system with automatic measuring, clipping, scrolling, focus handling, keyboard navigation, popovers, tooltips, responsive scaling, reusable widgets, and polished default chart components. The goal is to let mod developers build modern dashboard-style screens without manually fighting coordinates, GUI scale, text overflow, or layout bugs.
Main features include:
- responsive layout containers for rows, columns, grids, cards, scroll areas, and tabs
- automatic GUI scaling through an independent virtual UI space
- built-in themes, density modes, spacing tokens, borders, and semantic colors
- default-ready widgets such as buttons, text fields, search fields, dropdowns, sliders, toggles, checkboxes, tables, and lists
- interactive chart components including line, bar, pie, donut, multi-series, and dual-axis charts
- default hover states, tooltips, legends, focus behavior, keyboard navigation, and scroll handling
- developer validation screens and inspector tools for testing layout, input, and component behavior
To use it, create a Modern GUI screen, compose widgets using the provided layout containers, apply a theme or density profile, and let the framework handle measurement, rendering, scaling, clipping, input, focus, and interaction defaults.
Advanced behavior can still be customized through component options, chart options, theme tokens, and layout constraints when a screen needs explicit control.
Screens are built as component trees. A Modern screen owns a root container, the root container owns layout containers, and layout containers own widgets.
Example structure:
ModernScreen
└── RootContainer
├── Header / Toolbar
├── TabBar
└── ScrollContainer
└── ContentContainer
├── Card
│ ├── Text
│ ├── Button
│ └── Chart
├── Table
└── Form Inputs
Instead of placing every widget with fixed coordinates, you compose layouts using rows, columns, grids, cards, tabs, scroll areas, and popovers. The framework measures components, assigns bounds, clips rendering, routes input, manages focus, handles scrolling, and applies theme/density defaults automatically.
常见问题
Modern GUI 支持哪些 Minecraft 版本?
Modern GUI 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Modern GUI 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
VEXTORStudio 的其他作品
查看全部 →Create: Auction House
Lightweight, player-driven auction house that replaces static vendor pricing with real supply–demand trading, enabling direct listing, ordering numismatics 'spur' as the currency.
Create: Steam Turbines
Take your steam engines to the next level, with more advanced methods of turning steam to rotational power!
Create: Factory Metrics
Real-time factory metrics with per-network tracking, flow rates, smoothing, and bottleneck visibility.
Capital Industries Server
A fast, multiplayer-focused Create mod-pack built for massive automation, optimized performance, nuclear power scaling, and expanded exploration across planets.
评论
登录后评论和评分