Damage (Item Action Type)
Uses up some of the item stack's durability.
Type ID: apoli:damage
Fields
| Field | Type | Default | Description |
|---|---|---|---|
amount | Integer | 1 | How much damage to do to the item stack. |
ignore_unbreaking | Boolean | false | Whether the action ignores the Unbreaking enchantment. |
Examples
"item_action": {
"type": "apoli:damage",
"amount": 10,
"ignore_unbreaking": true
}This damages the item stack by 10, ignoring Unbreaking.