Companion

object Companion

Functions

Link copied to clipboard
fun create(material: XMaterial, action: (action: UiAction) -> Unit = {}): UiEntry

Creates a UiEntry with the given XMaterial

fun create(material: XMaterial, name: String, action: (action: UiAction) -> Unit = {}): UiEntry

Creates a UiEntry with the given XMaterial and the given name