To create a Scrolling GUI all you need to do is:
// Main constructorScrollingGui scrollingGui = new ScrollingGui(6, 45, 9, "GUI Title");// AlternativeScrollingGui scrollingGui = new ScrollingGui(6, "GUI Title");// Horizontal scrolling instead of verticalScrollingGui scrollingGui = new ScrollingGui(6, 45, 5, "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, the third parameter tells the lib how many items at a time it should scroll, the example above uses
9, if nothing is set the lib will calculate the page size and the scroll size when opening.
Everything else about this GUI is exactly like the Paginated.