copy_item

Copies the item from one inventory slot into another slot.

Categories: inventory

Required arguments

Key(s)DescriptionType
from_slotThe slot to copy the item from, e.g. mainhand or offhand.STRING
to_slotThe slot to copy the item into.STRING

Trigger parameters required

  • PLAYER

Example

effects:
  - id: copy_item
    args:
      from_slot: mainhand
      to_slot: offhand

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue