CraftUIDesigner

interface CraftUIDesigner

UI builder for CraftUI

Default UI implementation is in CraftUI. (companion object)

Since

5.0.16

Types

Link copied to clipboard
class Baked(val title: Component, val makeButton: Pair<CoordinateComponent, ItemStack>, val blankSlots: Map<CoordinateComponent, ItemStack>)

BakedDesigner: An immutable CraftUIDesigner with a set (baked) value.

Link copied to clipboard
object Companion
Link copied to clipboard
data class Context(val player: Player? = null)

Context for CraftUIDesigner.

Functions

Link copied to clipboard

Bake a designer with specified context.

Link copied to clipboard

Blank slots coordinates and those item(icon)s

Link copied to clipboard

Make button slot coordinate and make button item (icon)

Link copied to clipboard
open fun title(context: CraftUIDesigner.Context): Component

UI title