build

fun build(size: Int, title: String, builder: GuiBuilder.() -> Unit): GuiBuilder

Builds a new GuiBuilder with the specified size, title, and configuration.

Return

The constructed GuiBuilder instance.

Parameters

size

The number of rows in the GUI.

title

The title of the GUI.

builder

The function to configure the GUI.