跳到正文

ModularUI

作者:brachy

The ultimate GUI mod for minecraft

收藏

截图

介绍

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

ModularUI

This is the ultimate GUI mod for minecraft.

History

The first time I encountered a form of a ModularUI was in GTCE in version 1.12.2. The concept was great. Much less boiler plate code. No GUI texture sheets. And more. However there were a lot of problems. There were lots of bugs. The code was a mess and compat with other mods such as Inventorytweaks was very difficult.
Then GTCEu was made as a fork of GTCE. The UI code received some improvements, but somehow it got even messier. At that point CleanroomMC already decided to make a reworked, standalone version of ModularUI. So I volunteered to do the job. And I did.
On May 22nd 2022 the first version was released on CF. It was a huge improvement compared to GTCE/GTCEu, but I still was not happy enough. So a few updates and month later i started to rewrite some portions of the mod. However the rewrite became so large that it was almost a full rewrite. Was it worth it? I don’t know, but now I’m happy with the result.

Features

  • Panel system similar to windows
  • Widgets like buttons, text fields (custom, not mc garbage) or slider
  • layout widgets like rows, columns, grids and lists
  • custom implementation of scrolling with smooth animations
  • math expression parser for number text fields
  • viewport implementation for transformation of certain parts (like a scrollable list)
  • easy syncing of any value making the mod usable for things like TileEntities/BlockEntities
  • open and close animations of panels
  • compat with InventoryBogoSorter

常见问题

ModularUI 支持哪些 Minecraft 版本?

ModularUI 支持 Minecraft Java 版 1.7.10–1.20.1,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

ModularUI 怎么安装?

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

评论

登录后评论和评分

brachy 的其他作品

查看全部 →