createItemStack

abstract fun createItemStack(amount: Int): ItemStack

Creates an ItemStack of this NovaItem with the specified amount.

Return

An ItemStack of this NovaItem with the specified amount.

Parameters

amount

The amount of items in the stack.


open fun createItemStack(): ItemStack

Creates an ItemStack of this NovaItem with the amount of 1.

Return

An ItemStack of this NovaItem with the amount of 1.