Home›Java›Mods›HanGuiBuilder | A simple gui builder API
ModsJava

HanGuiBuilder | A simple gui builder API

Java mod listed for Minecraft 1.8–1.19. Download on the author's site.

⬇ Download on Spigot
What is this project? HanGuiBuilder is a Minecraft Spigot plugin API that is designed for developers. It simplifies the process of building GUIs and assigning commands to items within them, and is compatible with all versions of Minecraft.

Maven
Code (Text):
     
  <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>

    <dependency>
        <groupId>com.github.BingulHan</groupId>
        <artifactId>HanGuiBuilder</artifactId>
        <version>1.0</version>
    </dependency>
Example
Code (Text):

new HanGuiBuilder(HanGuiBuilder.Size.THREE, "&b&lExample Gui", this).setAccessibleOnDragItems(false).addPlayer(event.getPlayer()).
               addItem(1, new GuiItem(new ItemStack(Material.GRASS), (p,g) -> {

                   p.sendMessage(ChatColor.GREEN+"You touched the grass!");
                   g.getPlugin().getServer().broadcastMessage(""+p.getName()+" touched the grass!");
                   
                   })).open();

 
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.

HanGuiBuilder | A simple gui builder API is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 107 times (via Spigot). Download it and open it directly in the game.

Explore more