IN
• InventoryBuilder
This is a simple InventoryBuilder, you can easily create Inventories.
Paste the file in a package and you are ready to go.
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);Discord: zBenq#4450
Portfolio: https://www.devbxnq.de/Portfolio/
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta