gui

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

An entry point to create a new GuiBuilder using the builder pattern.

Return

The constructed GuiBuilder instance.

Parameters

size

The number of rows in the GUI.

title

The title of the GUI.

builder

The configuration block to set up the GUI.