drop_item_slot

Drops items from a specific inventory slot.

Categories: inventory

Required arguments

Key(s)DescriptionType
slotThe inventory slot to drop items from, e.g. mainhand or slot_0.STRING

Optional arguments

Key(s)DescriptionTypeDefault
amountHow many items to drop. If omitted, drops the entire stack.EXPRESSION

Trigger parameters required

  • PLAYER

Example

effects:
  - id: drop_item_slot
    args:
      slot: mainhand
      amount: <expression> # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue