Damage
Damages the item stack.
Type ID: ope:damage
Fields
| Field | Type | Default | Description |
|---|---|---|---|
amount |
Integer | 1 | The amount of damage to apply to the item. (Can be negative) |
ignore_unbreaking |
Boolean | false | Whether positive damage should ignore the unbreaking enchantment. |
Example
"entity_action": {
"type": "ope:damage",
"amount": 10
}