build

fun <T> build(title: String, rows: Int = 6, data: List<T>, builder: PaginatedGuiBuilder<T>.() -> Unit): PaginatedGuiBuilder<T>

Builds a new PaginatedGuiBuilder instance with the specified title, rows, and data list.

Return

A new PaginatedGuiBuilder instance.

Parameters

title

The title of the paginated GUI.

rows

The number of rows in the GUI.

data

The data to be displayed in the GUI.

builder

A lambda block to configure the PaginatedGuiBuilder instance.