give_item
Gives the player one or more items, optionally placing them into a specific inventory slot.
Categories: inventory
Required arguments
| Key(s) | Description | Type |
|---|
item \| items | The item or list of items to give to the player. | ITEM_LIST |
Optional arguments
| Key(s) | Description | Type | Default |
|---|
slot | The inventory slot type to place the item into. If omitted the item is dropped into the player's inventory via telekinesis. | STRING | |
Trigger parameters required
Example
effects:
- id: give_item
args:
item: <value>
slot: mainhand # ← Optional
Behaviour
| Setting | Value |
|---|
| Run order | NORMAL |
| Supports delay | true |
| Reloads on plugin reload | true |