amount

fun amount(amount: Int): ItemBuilder

Sets the amount (stack size) of the item.

Return

The ItemBuilder instance for method chaining.

Parameters

amount

The number of items in the stack.