跳到正文

EasyGui

作者:Lucent

一个简单的前置库,旨在让 GUI 开发更轻松。

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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

source   
jitpack

常见问题

EasyGui 支持哪些 Minecraft 版本?

EasyGui 支持 Minecraft Java 版 1.21–1.21.1,共 2 个版本,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

EasyGui 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。

评论

登录后评论和评分

Lucent 的其他作品

查看全部 →