Mod

ModularUI

Quick rating

ModularUI

No reviews yet

A GUI library to ease the process of creating vanilla style GUIs

No Theme
No Genre
UI & Menu Tool
API/Library
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Optional

About

Project Details

Type
Mod
License
GNU Lesser General Public License v3.0 only
Latest Version
modularui2-2.3.80-1.7.10.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

ModularUI

What is ModularUI?

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

Why ModularUI?

Minecrafts (and Forges) gui code is not very good and the code gets really messy really fast. With ModularUI you can build GUIs fast by adding Widgets to panels with layout widgets, so you don't have to calculate positions and sizes yourself. ModularUI is very dynamic and allows for very complicated client only or even client-server synced GUIs. A good example is fluid slots in GUIs. Minecraft and Forge don't offer anything to add fluid slots or tanks to a GUI. With ModularUI you simply call .child(new FluidSlot().syncHandler(new FluidTank(16000))) (along with some setters).

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
  • 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 without
  • 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

History

  • First appearance of ModularUI in GTCE by Archengius
  • on 30th December 2021 GTCEu released with some improvements to its GUI library
  • on 16th January 2022 Rongmario created the ModularUI repository in the CleanroomMC organization with the intention to rewrite it
  • on 19th February I (brachy) started working on ModularUI
  • on 21st May 2022 ModularUI version 1.0.0 was released on Curseforge
  • miozune decided to port ModularUI to 1.7.10 for GTNH
  • after 3 month of updates I decided to rewrite some parts of the library
  • the rewrite turned very large and thus ModularUI 2 was born
  • on 21st March 2023 I uploaded version 2.0.0 to Curseforge
  • since then ModularUI is constantly receiving updates

I need help

1.12.2

The 1.12.2 version is part of CleanroomMC. It's discord is here.

Any version

You can contact me on Discord (Username: 'brachy.'). Do not ask to ask a question. Just ask your question. If you just say 'Hi' I will ignore you.

If you are a developer i can give you access to a discord sever which is meant for developers only.

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

Screenshots

Gallery

  • Flow layout
    Flow layout Easy layout of multiple widgets in rows and colums with optional wrapping behavior.
  • Rich text
    Rich text Styled text with inlined non text elements which can have tooltips or be clickable.
  • Graph
    Graph A graph plotting the function sin(x) / x
  • Dropdown
    Dropdown Dropdown menu with selectable options
  • Custom chest GUI with Inv Tweaks compat
    Custom chest GUI with Inv Tweaks compat
  • Color Picker Panel
    Color Picker Panel
  • Showcase
    Showcase Jei support, Images in tooltips, fixed position of tooltips, etc.
  • Sortable List + Grid in Panel
    Sortable List + Grid in Panel

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

1.5m
Total Downloads
CurseForge
1.5m
Modrinth
~64,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync