... | @@ -6,15 +6,16 @@ Removes an item from a specific slot of the player's inventory. |
... | @@ -6,15 +6,16 @@ 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
|
|
Skills:
|
|
Skills:
|
|
- consumeslot{slot=0;amount=1} @NearestPlayer{r=10} |
|
- consumeslot{slot=0;amount=1} @NearestPlayer{r=10}
|
|
\ No newline at end of file |
|
``` |
|
|
|
\ No newline at end of file |