Damage

Item Action

Damages the item stack with a specified amount.

Type ID: apoli:damage

Fields

Field Type Default Description
amount Integer 1 The amount of damage it should do to the item stack.
ignore_unbreaking Boolean false Determines if this action should ignore the Unbreaking enchantment.

Example

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

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