copy_item
Copies the item from one inventory slot into another slot.
Categories: inventory
Required arguments
| Key(s) | Description | Type |
|---|---|---|
from_slot | The slot to copy the item from, e.g. mainhand or offhand. | STRING |
to_slot | The slot to copy the item into. | STRING |
Trigger parameters required
PLAYER
Example
effects:
- id: copy_item
args:
from_slot: mainhand
to_slot: offhand
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |