ModsJava
Inventory GUI Creation Utilities
Java mod listed for Minecraft 1.9. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotExample usage
Calling CustomInventory#open(Player varPlayer) will open the inventory.
Code (Text):
// Written by Xilixir on 5/21/2016
public class TempClass extends CustomInventory {
public TempClass(String name, int size, boolean deleteOnClose) {
super(name, size, deleteOnClose);
addItem(new ItemBuilder(Material.DIAMOND).name("Click to Test").toItemStack(), 4, new Action() {
@Override
public void click(ClickType clickType, Player player) {
player.sendMessage("Wow, it really works!");
}
});
}
}
public class TempClass extends CustomInventory {
public TempClass(String name, int size, boolean deleteOnClose) {
super(name, size, deleteOnClose);
addItem(new ItemBuilder(Material.DIAMOND).name("Click to Test").toItemStack(), 4, new Action() {
@Override
public void click(ClickType clickType, Player player) {
player.sendMessage("Wow, it really works!");
}
});
}
}
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft version listed: 1.9
- 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.
Inventory GUI Creation Utilities is a free Minecraft Java mod. Compatible with Minecraft 1.9. Downloaded 174 times (via Spigot). Download it and open it directly in the game.