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 GUI all you need to do is:

// Main constructor
ScrollingGui scrollingGui = new ScrollingGui(6, 45, "GUI Title");
// Alternative
ScrollingGui scrollingGui = new ScrollingGui(6, "GUI Title");
// Horizontal scrolling instead of vertical
ScrollingGui scrollingGui = new ScrollingGui(6, 45, "GUI Title", ScrollType.HORIZONTAL);

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.