grow

@Contract(value = "_ -> new", pure = true)
open fun grow(amount: Int): ItemStack

Grows the amount of this item stack by the given amount and returns the resulting item stack.

This will calculate the new amount by adding the given amount to the current ItemStack.amount.

Return

the resulting item stack

Parameters

amount

the amount to grow by