remove_random_enchant
Removes a randomly chosen enchantment from the triggering item.
Categories: inventory
Optional arguments
| Key(s) | Description | Type | Default |
|---|---|---|---|
mode | Set to 'level' to reduce the enchantment level by 1 instead of removing it entirely. Defaults to removing the enchantment. Choices: full, level | STRING | full |
Trigger parameters required
ITEM
Example
effects:
- id: remove_random_enchant
args:
mode: full|level # ← Optional
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |