quick start - Hazebyte/base GitHub Wiki

Quick Start

Build Tools

See Maven/Gradle

You can also manually download the jar here

Basic Usage

// Create a new blank page
Base base = new BlankPage(this, "MyMenu", Size.from(27));

// Create a new button 
Button button = new Button(new ItemStack(Material.DIAMOND, 1));

// Add the item to the first available slot
base.addIcon(button);

// Open the inventory for the player
base.open(player);

You have now created a base inventory! Here are some important links.