In CS2, the armormaterial attribute was replaced with enchantability and damageReduction. This means you can now edit these amounts separately, rather than being stuck with vanilla amounts. Refer to the charts in CS1 if you want to compare your amounts for balanced armor. For examples of these being used, please refer to the Armor Types page for an example armor set that uses these attributes.
|Custom Stuff 1
Information presented below this line is outdated syntax or information used for Custom Stuff 1. It will not work with Custom Stuff 2.
The armormaterial attribute sets which armor type your item will use.The values you can use are cloth, iron, chainmail, gold, and diamond. The armormaterial attribute can be used like below.
How much a custom armor protects the player is based on vanilla minecraft armor values. When setting the type and the armormaterial attributes, the armor will inherit its armor values from the vanilla versions with the same properties. The amount of armor provided by The chart below contains the armor values from vanilla minecraft for each armor type and material type.
As stated before, the armormaterial attribute affects how well enchanting works on armor. This uses values already added to minecraft vanilla armors for enchanting.
The chart shown on the right contains the bonus amounts towards enchanting items for each of the armor material type. These values can be looked at as a level boost toward getting enchants.
From the chart, you can tell the gold armormaterial type is the best if you just a good enchanting bonus, but the armor itself will provide less armor protection as a result.
For more information about enchanting, please refer to the minecraft wiki.
Vanilla Armor Levels:
The list below shows which armor has how much protection:
|Leather Cap||½ Armor (28 health)|
|Leather Tunic||1½ Armor (40.5 health)|
|Leather Leggings||1 Armor (38 health)|
|Leather Boots||½ Armor (33 health)|
|Gold Cap||1 Armor (39 health)|
2½ Armor (55.5 health)
|Gold Leggings||1½ Armor (53 health)|
|Gold Boots (Butter Shoes)||½ Armor (46 health)|
|Chainmail Cap||1 Armor (83 health)|
|Chainmail Chestplate||2½ Armor (120.5 health)|
|Chainmail Leggings||2 Armor (113 health)|
|Chainmail Boots||½ Armor (98 health)|
|Iron Cap||1 Armor (83 health)|
|Iron Chestplate||3 Armor (120.5 health)|
|Iron Leggings||2½ Armor (98 health)|
|Iron Boots||1 Armor (83 health)|
|Diamond Cap||1½ Armor (182 health)|
|Diamond Chestplate||4 Armor (264.5 health)|
|Diamond Leggings||3 Armor (248 health)|
|Diamond Boots||1½ Armor (215 health)|
*This table is partially redundant now but testing is needed to see if custom armor is independent of maxuses attribute before removing this section. Flamarow 22:32, February 27, 2012 (UTC)