open_disposal

Opens a disposal GUI for the player, discarding anything left inside when it is closed.

Categories: inventory, player

Optional arguments

Key(s)DescriptionTypeDefault
rowsThe number of rows in the disposal GUI (1-6). Supports expressions.EXPRESSION3
titleThe title shown at the top of the disposal GUI.STRINGDisposal

Trigger parameters required

  • PLAYER

Example

effects:
  - id: open_disposal
    args:
      rows: 6 # ← Optional
      title: &cDisposal # ← Optional

Behaviour

SettingValue
Run orderNORMAL
Supports delaytrue
Reloads on plugin reloadtrue