createItemStack

@NotNull
abstract fun createItemStack(amount: Int): @NotNull 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.


@NotNull
open fun createItemStack(): @NotNull ItemStack

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

Return

An ItemStack of this NovaItem with the amount of 1.