Durability
Checks the current durability of the item.
Type ID: origins:durability
Fields
Field | Type | Default | Description |
---|---|---|---|
comparison |
Comparison | Determines how the durability value of the item should be compared to the specified value. | |
compare_to |
Integer | The value at which the durability value of the item will be compared to. |
Examples
"item_condition": {
"type": "origins:durability",
"comparison": "<=",
"compare_to": 100
}
This example will check if the item has a durability value of 100 or less.