ModsJava
HanGuiBuilder | A simple gui builder API
Java mod listed for Minecraft 1.8–1.19. Download on the author's site.
⬇ Download on SpigotWhat 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
<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
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();
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>
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
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.