EASY GUI
Easy GUI 是一个 UI 框架,旨在让开发者在为其模组开发用户界面时稍微轻松一些。
? 请确保你使用的是 2+ 版本,因为大多数文档已过时,不再适用于旧版本
为 1.21.1 开发,可能在更高版本上可用,但不保证兼容
功能概览
- 分层渲染结构。元素以树状结构处理,包含父级和子级;子级的位置和缩放相对于其父级进行计算。
- 内置变换(Transform)。默认处理缩放和旋转,并将其应用于子级。
- 可选地禁用特定 UIFrame 的 Minecraft 缩放效果。
- 覆盖层管理器(Overlay Manager)。轻松覆盖原版覆盖层并创建自定义覆盖层。
- 预制元素。提供广泛的预制元素,你可以直接使用、扩展或从中学习。
- 纹理包装器(Texture Wrappers),便于更轻松地管理纹理。
- 完善的事件系统,同时支持目标事件和全局事件。
总之,此模组的设计目的是让你的模组 UI 开发工作更加轻松
❗ 我尚未设置 Maven 仓库,因此目前你需要使用 Jitpack
使用说明请参阅 GitHub
EASY GUI
Easy GUI is a UI Framework that hopes to make developers lives slightly easier when developing UI for their mod.
? please ensure you are using version 2+, since most documentation is outdated for older versions
developed for 1.21.1 may work on newer versions but not guarenteed
what to expect
- hierarchically rendering structure. elements are handled in a tree strucutre with parents and children, children are positioned and scaled relative to their parents.
- built in transform. by default handles scale and rotation, and applies it to children
- Optional disable of minecraft scaling for specific UIFrames
- overaly Manager. easily overide vanilla overlys and make your own
- prebuilt elements. comes with a wide range of prebuilt elements you can either use directly, extend or learn from
- texture wrappers for easier texture managing
- comprehensive event system, with both targeted events and global events
All in all this mod is designed to make your life easier when developing a UI for your mod
❗ I have not yet set up a maven repo, so you would need to use Jitpack for now
for usage instructions please see github
下载 EasyGui
下载 EasyGui
下载 EasyGui
下载 EasyGui
下载 EasyGui
下载 EasyGui
下载 EasyGui
下载 EasyGui
修复了覆盖层中与缩放相关的一些问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧