Amount

Item Condition Type

Checks the amount of the item.

Type ID: origins:amount

Fields

Field Type Default Description
comparison Comparison Determines how to compare the number of items in this stack to the specified value.
compare_to Integer Which value to compare the item's count value to.

Examples

"item_condition": {
    "type": "origins:amount",
    "comparison": ">=",
    "compare_to": 10
}

This example will check if the item has a count of 10 or more.