Skip to main content

Get 25% OFF on your first order with BisectHosting using code "DAQEM"!

UI Lib

UI Lib

A user interface library for Minecraft modding.

UI Lib is a comprehensive user interface library designed for Minecraft mod developers. It abstracts away the complexities of the raw Minecraft Screen and GuiGraphics classes, providing a robust component-based system for building modern, responsive, and interactive GUIs.

Features

🧩 Component System

Build GUIs using a hierarchical system of Components and Widgets. Easily nest elements, handle positioning relative to parents, and manage rendering layers.

🎨 Rich Visuals

Includes built-in support for gradients, blurred backgrounds, panoramas, item rendering, and sprite manipulation out of the box.

📜 Advanced Text

Forget standard strings. Use Multi-line text, scrolling marquees, and truncated text components that automatically handle width constraints.

🌳 Skill Tree Engine

A complete engine for rendering draggable, zoomable skill trees with automatic node positioning algorithms.

For Users

If a mod you are using requires UI Lib, simply download the version matching your Minecraft version and Mod Loader and place it in your mods folder.

For Developers

UI Lib handles the heavy lifting of coordinate calculations, scissor testing (clipping), and input handling.

Check the Getting Started guide to integrate it into your project.