Armor Value (Item Condition Type)
Compares the item's armor value with a number. Items that aren't armor have an armor value of 0.
Type ID: apoli:armor_value
tip
The Minecraft Wiki lists the armor value of each piece: Helmet, Chestplate, Leggings and Boots.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
comparison | Comparison | required | How the armor value is compared with compare_to. |
compare_to | Integer | required | The number the armor value is compared with. |
Examples
"item_condition": {
"type": "apoli:armor_value",
"comparison": ">",
"compare_to": 3
}This checks whether the item, here a chestplate, has an armor value above 3, which is the value of a leather chestplate.