|
## Description
|
|
## Description
|
|
|
|
|
|
Causes an explosion of temporary items at the target location.
|
|
Causes an explosion of temporary items at the target location.
|
|
Unless otherwise specified with the `allowpickup` option, those items will be packets, only existing on the client of the players and not on the server.
|
|
Unless otherwise specified with the `allowpickup` option, those items will be packets, only existing on the client of the players and not on the server.
|
|
|
|
|
|
|
|
|
|
## Attributes
|
|
## Attributes
|
|
| Attribute | Alias | Description | Default Value |
|
|
| Attribute | Aliases | Description | Default |
|
|
| ----------- | --------- | -------------------------------------------------- | ------------- |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| item | i | The type of item can be a [Bukkit][] or Mythic item| iron_sword |
|
|
| items | item, i | The list of items to drop. This attribute works like the [DropItem](skills/mechanics/dropitem)'s one | iron_sword |
|
|
| amount | a | How many items will render from the spray | 10 |
|
|
| amount | a | How many items will render from the spray | 10 |
|
|
| duration | d | How long (in ticks) the items will exist | 20 |
|
|
| duration | d | How long (in ticks) the items will exist | 20 |
|
|
| radius | r | The radius/spread the items will start in | 0 |
|
|
| radius | r | The radius/spread the items will start in | 0 |
|
|
| velocity | v,force,f | The velocity of the items | 1 |
|
|
| velocity | v, force, f | The velocity of the items | 1 |
|
|
| yVelocity | yv | The Y velocity of the items | velocity |
|
|
| yVelocity | yv, yforce, yf | The Y velocity of the items | `velocity` |
|
|
| yOffset | yo | The Y offset the items will start at | 1 |
|
|
| yOffset | yo, y | The y offset the items will start at | 1 |
|
|
| allowpickup | ap | If the itemspray items will be real items, enabling players to pick them up | false |
|
|
| allowpickup | ap | Whether the itemspray's items should be real items, enabling players to pick them up | false |
|
|
|
|
| gravity | g | Whether the items should be affected by gravity | true |
|
|
|
|
| audience | | The [audience] of the effect | world |
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
## Examples
|
|
|
|
|
|
```yaml
|
|
```yaml
|
|
- effect:itemspray{item=iron_sword;amount=20;velocity=5;d=100} @self
|
|
Skills:
|
|
|
|
- itemspray{item=iron_sword;amount=20;velocity=5;d=100} @self
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
[Bukkit]: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html |
|
## Aliases
|
|
\ No newline at end of file |
|
- [x] effect:itemspray
|
|
|
|
- [x] e:itemspray
|
|
|
|
|
|
|
|
|
|
|
|
<!-- LINKS -->
|
|
|
|
[Bukkit]: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
|
|
|
|
[audience]: Skills/Audience |
|
|
|
\ No newline at end of file |