Compatibility
Minecraft: Java Edition
Platforms
Supported environments
90% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Creators
Details
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