paginatedInventory
fun <T> paginatedInventory(rows: Int = 6, title: Component, items: List<T> = emptyList(), builder: PaginatedGuiContext<T>.() -> Unit): Gui
Creates a paginated Gui instance.
Return
A new Gui instance.
Parameters
rows
The number of rows (1-6).
title
The title of the GUI.
items
The initial list of items.
builder
The builder block for the PaginatedGuiContext.