Skip to main content

Damage (Item Action Type)

Uses up some of the item stack's durability.

Type ID: apoli:damage

Fields

FieldTypeDefaultDescription
amountInteger1How much damage to do to the item stack.
ignore_unbreakingBooleanfalseWhether 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.