getMaxStackSize

public int getMaxStackSize()

Get the maximum stacksize for the material hold in this ItemStack. (Returns -1 if it has no idea)

Return

The maximum you can stack this material to.