HomeJavaModsContainrGUI • The best GUI library on the market!
ContainrGUI • The best GUI library on the market!
ModsJava

ContainrGUI • The best GUI library on the market!

⬇ Download on Spigot
[​IMG]

ContainrGUI
The best GUI library on the market!
__________________________________________________________________________________________________________________________________

An advanced, but yet simple GUI solution.
Build fast, responsible, complex or animated menus in no time and optionally save them into your config.

// About
Creating a GUI can be a tedious and time-consuming task. We were aware of this issue, and so few years back, we created a powerful solution that allowed us to make GUIs of any complexity in matters of minutes so we could focus on the core application logic, saving us a lots of time and money.

ContainrGUI is time-proven. It powers many of our commissioned projects and in the past, it served as the core GUI engine in few popular Minecraft networks around the world, handling thousands of menu renders per hour.

// Links

// Features
ContainrGUI provides a set of powerful features that allow making GUI of any complexity in matter of minutes.

// Simple Hello World

This is just a simple example. For more advanced usage, please head to our wiki.

Code (Java):
GUI gui = Component. gui ( )
    . title ( "GUI Title" )
    . rows ( 3 )
    . prepare ( (g ) -> {
    Container container = Component. staticContainer ( )
        . size ( 4, 1 )
        . init (c -> {
           c. setElement ( 2, Component. element ( )
                    . click (info -> {
                        Player player = info. getPlayer ( ) ;
                        player. sendMessage ( "§7Time refreshed!" ) ;
                   
                        info. getGui ( ). update (player ) ;
                    } )
                    // Compute an item on every render
                    . item (info -> Items. create (Material. REDSTONE_BLOCK,
                            "§cTime: " + DateTimeFormatter. ofPattern ( "HH:mm:ss" ). format (LocalTime. now ( ) ),
                            "§7Click to refresh the time" )
                    )
                    . build ( ) ) ;
        } ). build ( ) ;
 
        g. setContainer ( 1, container ) ;
    } )
    . build ( ) ;

gui. open (player ) ;
// Installation
You can add Containr to your build path using Maven or Gradle. ContainrGUI is **not a Minecraft plugin**! This means that you can use it's code directly in your project by shading it into your build path.

Gradle:
Code (Text):
repositories {
    maven { url = 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.ZorTik:ContainrGUI:0.7-pre7'
}
Maven:
Code (Text):
<repositories>
    <repository>
       <id>jitpack.io</id>
       <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependency>
    <groupId>com.github.ZorTik</groupId>
       <artifactId>ContainrGUI</artifactId>
    <version>0.7-pre7</version>
</dependency>
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

ContainrGUI • The best GUI library on the market! is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 19 times (via Spigot). Download it and open it directly in the game.

Explore more