level_item
Grants XP to the triggered item's level system.
Categories: inventory
Required arguments
| Key(s) | Description | Type |
|---|---|---|
id | The ID of the level type to grant XP for. | STRING |
xp | The amount of XP to grant to the item. Supports expressions. | EXPRESSION |
Example
effects:
- id: level_item
args:
id: mining
xp: %level% * 10
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |
| Permanent | false |