Ui

fun Ui(title: String, slots: Int, player: Player, automaticallyOpen: Boolean = true)

Parameters

title

The title of the UI

slots

The slots of the UI

player

The player that will see the UI

automaticallyOpen

If the UI should be automatically opened. Defaults to true