cancel_drops
Cancels item drops from the triggering event. If on_drops is specified, only those items are removed.
Categories: inventory, world
Optional arguments
| Key(s) | Description | Type | Default |
|---|---|---|---|
on_drops | If specified, only drops matching these item types are cancelled. If omitted, all drops are cancelled. | ITEM_LIST |
Trigger parameters required
EVENT
Example
effects:
- id: cancel_drops
args:
on_drops: <value> # ← Optional
Behaviour
| Setting | Value |
|---|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |