Item Builder API
Item Builder API
Section titled “Item Builder API”Reference
The shared item layer keeps menu and inventory UI from repeating item-meta boilerplate.
DaisyItemSpec object Immutable item definition produced by the builder.
DaisyItemBuilder object Builder surface for names, lore, and item presentation.
item object Entrypoint used to build a DaisyItemSpec from a material and builder block.
name string Sets the display name using the DaisyCore text model.
lore object Sets viewer-facing lore lines for the built item.
fun item(material: Material, block: DaisyItemBuilder.() -> Unit): DaisyItemSpec