KSpigot
/
net.axay.kspigot.items
/
setMeta
set
Meta
inline fun <
T
:
ItemMeta
>
ItemStack
.
setMeta
(builder:
T
.() ->
Unit
)
Content copied to clipboard
Resets the meta and opens a builder to create the new one.
Parameters
T
the specific type of the meta
@
JvmName
(
name =
"simpleSetMeta"
)
inline fun
ItemStack
.
setMeta
(builder:
ItemMeta
.() ->
Unit
)
Content copied to clipboard
See also
setMeta