Skip to content

Multiple Pages

ErdbeerbaerLP edited this page May 9, 2020 · 2 revisions

An GUI can have multiple pages. To use that feature assign your components to the pages. By default they are on page -1 which is global. To change that you can either call component.assignToPage(page); or this.assignComponentToPage(component, page);

To change the page of the GUI just call setPage(page);, nextPage(); or prevPage();.

The GUI will only display the components from the current page and from page -1

Clone this wiki locally