meta

inline fun <T : ItemMeta> ItemStack.meta(builder: T.() -> Unit)

Opens a builder with the current meta.

Parameters

T

the specific type of the meta

@JvmName(name = "simpleMeta")
inline fun ItemStack.meta(builder: ItemMeta.() -> Unit)

See also