getMaxStackSize

public abstract int getMaxStackSize()

Returns the maximum stack size for an ItemStack in this inventory.

Return

The maximum size for an ItemStack in this inventory.