|
=================
|
|
## Description
|
|
|
|
|
|
Removes an item from a specific slot of the player's inventory.
|
|
Removes an item from a specific slot of the player's inventory.
|
|
|
|
|
|
Attributes
|
|
|
|
----------
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|---------|----------------------------------------------------------------------------------------|---------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| slot | s | The inventory slot to remove the item from. Accepts Slots 0 to 35, or equipment slots. | HAND |
|
|
| slot | s | The inventory slot to remove the item from. Accepts Slots 0 to 35, or equipment slots. | HAND |
|
|
| amount | a | The amount of items to remove | 1 |
|
|
| amount | a | The amount of items to remove | 1 |
|
|
|
|
|
|
Examples
|
|
|
|
--------
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
Would remove whatever item is in slot 0, or the first slot, of the nearest player's inventory
|
|
Would remove whatever item is in slot 0, or the first slot, of the nearest player's inventory
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- consumeslot{slot=0;amount=1} @NearestPlayer{r=10}
|
|
- consumeslot{slot=0;amount=1} @NearestPlayer{r=10}
|
|
```
|
|
```
|
|
|
|
##
|
|
Would remove whatever item is in the HAND equipment slot the nearest player's inventory
|
|
Would remove whatever item is in the HAND equipment slot the nearest player's inventory
|
|
```yaml
|
|
```yaml
|
|
Skills:
|
|
Skills:
|
|
- consumeslot{slot=HAND;amount=1} @NearestPlayer{r=10}
|
|
- consumeslot{slot=HAND;amount=1} @NearestPlayer{r=10}
|
|
``` |
|
``` |
|
|
|
\ No newline at end of file |