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.
Discord: zBenq#4450
Portfolio: https://www.devbxnq.de/Portfolio/
This is a simple InventoryBuilder, you can easily create Inventories.
Paste the file in a package and you are ready to go.
Spoiler: Usage
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);
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
- 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.
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.