Damage (Item Action Type)

Damages the item stack with a specified amount.

Damages the item stack with a specified amount.

Type ID: apoli:damage

Fields

FieldTypeDefaultDescription
amountInteger1The amount of damage it should do to the item stack.
ignore_unbreakingBooleanfalseDetermines if this action should ignore the Unbreaking enchantment.

Examples

"item_action": {
    "type": "apoli:damage",
    "amount": 10,
    "ignore_unbreaking": true
}

This example will damage the item stack by 10, ignoring the Unbreaking enchantment.