InventoryGUIBuilder

class InventoryGUIBuilder<T : ForInventory>(type: InventoryType<T>)

Functions

equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
onClickElement
Link copied to clipboard
fun onClickElement(onClick: (InventoryGUIClickEvent<T>) -> Unit)
page
Link copied to clipboard

Opens the builder for a new page and adds the new page to the GUI.

fun page(page: Int, builder: InventoryGUIPageBuilder<T>.() -> Unit)
toString
Link copied to clipboard
open override fun toString(): String

Properties

title
Link copied to clipboard
var title: String
transitionFrom
Link copied to clipboard
var transitionFrom: InventoryChangeEffect?
transitionTo
Link copied to clipboard
var transitionTo: InventoryChangeEffect?
type
Link copied to clipboard
val type: InventoryType<T>