50 lines
1.0 KiB
Markdown
50 lines
1.0 KiB
Markdown
---
|
|
title: itemMeta -
|
|
---
|
|
//[KSpigot](../index.md)/[net.axay.kspigot.items](index.md)/[itemMeta](item-meta.md)
|
|
|
|
|
|
|
|
# itemMeta
|
|
[jvm]
|
|
Brief description
|
|
|
|
|
|
Creates new a ItemMeta instance of the given material and opens a builder for it.
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
jvm
|
|
|
|
| Name| Summary|
|
|
|---|---|
|
|
| T| <br><br>the specific type of the meta<br><br>
|
|
|
|
|
|
Content
|
|
inline fun <[T](item-meta.md) : ItemMeta> [itemMeta](item-meta.md)(material: Material, builder: [T](item-meta.md).() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)): [T](item-meta.md)?
|
|
|
|
|
|
[jvm]
|
|
Brief description
|
|
|
|
|
|
## See also
|
|
|
|
jvm
|
|
|
|
| Name| Summary|
|
|
|---|---|
|
|
| [itemMeta](item-meta.md)| <br><br><br><br>
|
|
|
|
|
|
Content
|
|
@[JvmName](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-name/index.html)(name = "simpleItemMeta")
|
|
|
|
inline fun [itemMeta](item-meta.md)(material: Material, builder: ItemMeta.() -> [Unit](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)): ItemMeta?
|
|
|
|
|
|
|