Represents a UI
The title of the UI
The slots of the UI
The player that will see the UI
If the UI should be automatically opened. Defaults to true
Closes the UI for the player
Sets the onBuild variable
Opens the UI for the player
Should the Ui be able to be closed? Defaults to true
Should the Ui be closed after the user clicks on an entry? Defaults to true
The inventory of the UI
Executed to build the UI