--- title: setMeta - --- //[KSpigot](../index.md)/[net.axay.kspigot.items](index.md)/[setMeta](set-meta.md) # setMeta [jvm] Brief description Resets the meta and opens a builder to create the new one. ## Parameters jvm | Name| Summary| |---|---| | T|

the specific type of the meta

Content inline fun <[T](set-meta.md) : ItemMeta> ItemStack.[setMeta](set-meta.md)(builder: [T](set-meta.md).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)) [jvm] Brief description ## See also jvm | Name| Summary| |---|---| | [setMeta](set-meta.md)|



Content @[JvmName](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-name/index.html)(name = "simpleSetMeta") inline fun ItemStack.[setMeta](set-meta.md)(builder: ItemMeta.() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html))