setItem

abstract suspend fun setItem(item: ItemStack): Menu.MenuElement

Sets the item stack for this menu element.

Return

the updated MenuElement instance

Parameters

item

the ItemStack to display