Skip to content

Damage (Apugli)

Item Action Type

Damages the item stack with a specified amount.

Type ID: apugli:damage

Note

If you do not need to display the break animation upon having this item break, please use Apoli's Damage (Item Action Type) instead.

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.

Examples

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

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