Skip to content

Item Builder API

Reference

The shared item layer keeps menu and inventory UI from repeating item-meta boilerplate.

Immutable item definition produced by the builder.

Required

Builder surface for names, lore, and item presentation.

Required

item object

Entrypoint used to build a DaisyItemSpec from a material and builder block.

Required

name string

Sets the display name using the DaisyCore text model.

Optional

lore object

Sets viewer-facing lore lines for the built item.

Optional

fun item(material: Material, block: DaisyItemBuilder.() -> Unit): DaisyItemSpec