Item Attributes

maxStack

This attribute defines the maximum stack size of the item.

Examples

// Default value
maxStack = 64;

maxStack = 8;

maxStack = 1;