name

fun ItemStack.name(name: String): ItemStack

Sets the name of this ItemStack

Return

this ItemStack

Parameters

name

the name of the item


val ItemStack.name: String?

Gets the name of this ItemStack (if it has ItemMeta)

Return

the name of the item