Scrolling GUI
Simple GUI that allows you to scroll on a Paginated GUI instead of going page by page.

Creating a Scrolling GUI

To create a Scrolling G
1
ScrollingGui gui = Gui.scrolling()
2
.title(Component.text("GUI Title!"))
3
.rows(6)
4
.pageSize(45)
5
.scrollType(ScrollType.HORIZONTAL) // Not needed, defauilts to VERTICAL.
6
.create();
Copied!
Just like the normal GUI the first parameter is the rows the GUI should have. Like the Paginated GUI the second parameter is to specify the page size, as in how big the page should be, in the example above it's 45 slots dedicated for the page.
Everything else about this GUI is exactly like the Paginated.
Last modified 5mo ago
Copy link