setAmount

public void setAmount(int amount)

Sets the amount of items in this stack

Parameters

amount

New amount of items in this stack