Scroll Item Provider
abstract class ScrollItemProvider(val scrollAmount: Int, val inventoryId: Int) : AbstractItemProvider
An ItemProvider that scrolls a VirtualInventory when clicked. This can be used for things like next/previous page buttons in a paginated GUI.
Parameters
scroll Amount
The amount to scroll the inventory by when clicked. Positive values will scroll forward, negative values will scroll backward.
inventory Id
The ID of the inventory to scroll. This allows the provider to specify