Home›Java›Mods›InventoryBuilder
ModsJava

InventoryBuilder

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

⬇ Download on Spigot
• InventoryBuilder

This is a simple InventoryBuilder, you can easily create Inventories.

Paste the file in a package and you are ready to go.


Spoiler: Usage
Code (Text):


In the onEnable method

new InventoryBuilder(this);

Create a Inventory

InventoryBuilder builder = new InventoryBuilder("Test Inventory", 9,Main.getPlugin());

Set a Item in the inventory with a action

builder.setItem(0, new ItemStack(Material.CAKE), new InventoryBuilder.ClickEvent() {
    @Override
    public void press() {

    }
});

Set a Item in the inventory without a action

builder.setItem(4,new ItemStack(Material.STICK));

Make that player can/cannot move the items

builder.setMovableItems(true/false);

Open the inventory to a player

builder.open(player);

 

Discord: zBenq#4450
Portfolio: https://www.devbxnq.de/Portfolio/
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.

InventoryBuilder is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 114 times (via Spigot). Download it and open it directly in the game.

Explore more