Item Attributes

maxDamage

This attribute defines the maximum damage of an item. For example, a diamond tool has a higher maximum damage than a wooden tool.
If this attribute is used, the item can not use metadata.

Examples

// Default value
maxDamage = 0;

maxDamage = 100;

maxDamage = 617;