add_durability
Increases the maximum durability of the triggering item.
Categories: inventory
Required arguments
| Key(s) | Description | Type |
|---|---|---|
durability | The amount of maximum durability to add. Supports expressions. | EXPRESSION |
Example
effects:
- id: add_durability
args:
durability: 50 + %level% * 10
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |
| Permanent | false |