-
Notifications
You must be signed in to change notification settings - Fork 2
GUIs
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.
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.
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.
I really had to get off, so I couldn't finish this. I'll do it later 😛