igui

inline fun igui(type: GuiType, title: Component, defaultPageKey: Any, builder: GuiBuilder.() -> Unit): Gui(source)

Creates a new gui.

Parameters

type

the type of the gui, which specifies the dimensions of the gui

title

the title of the gui, displayed at the top

defaultPageKey

the default page, which will be loaded on initialization

builder

the gui builder