Giter Club home page Giter Club logo

modularui2's Introduction

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).

Key features

  • panel system similar to windows
  • widgets are placed in a tree like structure
  • widget rendering and interactions are automatically handled
  • easy and dynamic widget sizing and positioning
  • syncing widget values
  • good for client only GUIs and client-server synced GUIs
  • GUI themes are loaded via JSON and can be added and modified by resourcepacks
  • NEI compat for things like exclusion zones

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

modularui2's People

Contributors

brachy84 avatar miozune avatar rongmario avatar serenibyss avatar firenoo avatar eigenraven avatar blueweabo avatar ghzdude avatar dream-master avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.