... | @@ -6,7 +6,7 @@ Drops a set of items or optionally a |
... | @@ -6,7 +6,7 @@ Drops a set of items or optionally a |
|
## Attributes
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| items | i | Items to drop. Can be a comma-separated list of items, or a DropTable. | NONE |
|
|
| items | i | Items to drop. Can be a comma-separated list of items, or a DropTable. You can specify an amount by putting a space and a number after the item name. | NONE |
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
## Examples
|
... | @@ -16,6 +16,12 @@ Example of dropping specific items. |
... | @@ -16,6 +16,12 @@ Example of dropping specific items. |
|
- dropitem{i=diamond_sword,diamond} @self ~onDeath
|
|
- dropitem{i=diamond_sword,diamond} @self ~onDeath
|
|
- ...
|
|
- ...
|
|
```
|
|
```
|
|
|
|
The below example will drop a Diamond Sword and 5 Diamonds
|
|
|
|
```yaml
|
|
|
|
Skills:
|
|
|
|
- dropitem{i=diamond_sword,diamond 5} @self ~onDeath
|
|
|
|
- ...
|
|
|
|
```
|
|
##
|
|
##
|
|
Example of dropping items from a DropTable.
|
|
Example of dropping items from a DropTable.
|
|
```yaml
|
|
```yaml
|
... | | ... | |