set_item_level
Sets the triggered item's level directly, rather than granting XP towards it.
Categories: inventory
Required arguments
| Key(s) | Description | Type |
|---|---|---|
id | The ID of the level type to set. | STRING |
level | The level to set the item to. Supports expressions. | EXPRESSION |
Example
effects:
- id: set_item_level
args:
id: mining
level: %level% + 1
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |
| Permanent | false |