setMeta

Resets the meta and opens a builder to create the new one.

Parameters

T

the specific type of the meta

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

See also

setMeta
Link copied to clipboard

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