Skip to content
Rayzr522 edited this page Sep 24, 2016 · 1 revision

Note: This page is a stub. Rayzr was in a hurry and was only able to write a small part of it.

GUIs

PerceiveCore has a unique system for creating GUIs, which is inspired greatly by Swing. Instead of creating a custom inventory, adding custom items to it, then listening for clicks and checking the slot, you create a GUI and then add Components.

Creation

The first thing you need is a GUI instance:

GUI gui = new GUI("Custom Title &eWith Color", 6);

The parameters are: title, rows. You can pass other parameters such as a DisplayType, DisplayColor, or both. Those will be covered later.

Components

I really had to get off, so I couldn't finish this. I'll do it later 😛

Clone this wiki locally