MacrocosmUI

open class MacrocosmUI(val id: Identifier, val dimensions: UIDimensions, var extraClickHandler: (UIClickData) -> Unit = { }, var extraCloseHandler: (UICloseData) -> Unit = { })(source)

Inheritors

Constructors

Link copied to clipboard
constructor(id: Identifier, dimensions: UIDimensions, extraClickHandler: (UIClickData) -> Unit = { }, extraCloseHandler: (UICloseData) -> Unit = { })

Types

Link copied to clipboard

Functions

Link copied to clipboard
@DeprecatedSince(value = "0.4.1")
@ForRemoval(deadline = "0.5.0")
fun addComponent(component: UIComponent): MacrocosmUI
Link copied to clipboard
Link copied to clipboard
fun open(to: Player): MacrocosmUIInstance
Link copied to clipboard
fun render(inside: Inventory, page: Int)
Link copied to clipboard
fun setup(base: Inventory, holder: Player): MacrocosmUIInstance
Link copied to clipboard
fun withTitle(title: Component): MacrocosmUI

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var title: Component