amount

fun amount(amount: Int): SimpleItem

Sets the amount (stack size) of the item.

Return

The SimpleItem instance for method chaining.

Parameters

amount

The amount to set for the item stack.