promotional bannermobile promotional banner

ModularUI

A GUI library to ease the process of creating vanilla style GUIs
item image
Styled text with inlined non text elements which can have tooltips or be clickable.

Styled text with inlined non text elements which can have tooltips or be clickable.

A graph plotting the function sin(x) / x

A graph plotting the function sin(x) / x

Dropdown menu with selectable options

Dropdown menu with selectable options

Description

ModularUI

What is ModularUI?

ModularUI is a library for Minecraft aiming to make GUI's much easier.

Buy Me a Coffee at ko-fi.com

Key features

  • panel system similar to windows
  • widgets are placed in a tree like structure
  • widget rendering and interactions are automatically handled
  • built in widgets like buttons, scroll views, item slots, fluid slots and text fields
  • no need to create GUI texture sheets, each widget is rendered dynamically
  • easy and dynamic widget sizing and positioning
  • build in APIs for various UI things like color, stencil (fancy scissor) and animations
  • easy syncing between client and server handled by MUI
  • good for client only GUIs and client-server synced GUIs
  • GUI themes are loaded via JSON and can be added and modified by resourcepacks
  • recipe viewer compat for things like exclusion zones and ghost ingredients

Mod versions

  • MUI begann as 1.0.0 in Minecraft 1.12.2
  • A rewrite of core features was introduced in 2.0.0. MUI 1 and 2 are so fundamentally different, that every mod using it, is incompatible with the other version. I took McLib as an inspiration for this version.
  • Years later, over many release candidates, version 3.0.0 was released. This change was much less drastic than 2.0.0, but was still very large. When people say "MUI2" they often mean 3.0.0 at this point in time.

Minecraft Versions

  • 1.7.10 is maintained by the GTNH Team, which is where the repository can be found. Many big changes from my modern repository will not be back ported.
  • 1.12.2 MUI was created in this version under the CleanroomMC org, this is no longer maintained.
  • 1.20.1 and up is maintained at my own repository, by me and the GTCEM Team.

At this point in time, 1.20.1 is my main focus, but commits are forward ported to 1.21.1 by the GTCEM Team.

Need help?

For version 1.7.10 best place to ask is the GTNH discord.

Otherwise you can join the MUI discord. This is only meant for developers!

The ModularUI Team

HighCrafter tier frameprofile avatar
Owner
HighCrafter tier icon
  • 14
    Followers
  • 13
    Projects
  • 3.8M
    Downloads

EnterBioHere

Donate

More from brachy_View all