Speedgot
InventoryBuilder
-----
Developer, InventoryBuilder
Download Now
Via external site
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
• 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/
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
91
First Release:
May 4, 2022
Last Update:
May 4, 2022
Category:
---------------
All-Time Rating:
0 ratings
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings