Armor Value

Item Condition Type

Checks whether the item has a certain armor value. Non-armor items are considered as having an armor value of 0.

Type ID: origins:armor_value

Note

You can visit these pages to get the armor values for each armor item piece:

Fields

Field Type Default Description
comparison Comparison Determines how the armor value of the item should be compared to the specified value.
compare_to Integer The value at which the armor value of the item will be compared to.

Examples

"item_condition": {
    "type": "origins:armor_value",
    "comparison": ">",
    "compare_to": 3
}

This example will check if the armor item (in this context, a chestplate) has a higher armor value than 3, which is the armor value for the leather chestplate armor item.