|
|
======================
|
|
|
|
|
|
|
|
|
## Description:
|
|
|
|
|
|
## Description
|
|
|
Throws a potion at the targeted entity or location, causing the splash
|
|
|
potion effect of the given type to all entities hit.
|
|
|
|
|
|
## Attributes:
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|--------------|----------------|-----------------------------------------------------------------|---------|
|
|
|
| type | t | The type of [potion effect](/databases/items/potions) to apply. | None |
|
|
|
| duration | d | The duration of the effect, in ticks | 100 |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| type | t | The type of [potion effect](/databases/items/potions) to apply | None |
|
|
|
| duratio | d | The duration of the effect, in ticks | 100 |
|
|
|
| level | l | The level of the potion effect | 1 |
|
|
|
| velocity | v | The velocity of the thrown potion | 1 |
|
|
|
| hasParticles | particles or p | Whether not to show the status effect particles. (4.6+) | true |
|
|
|
| hasIcon | icon or i | Whether not to show the status effect icon. (4.6+) | true |
|
|
|
| hasParticles | particles or p | Whether not to show the status effect particles | true |
|
|
|
| hasIcon | icon or i | Whether not to show the status effect icon | true |
|
|
|
|
|
|
## Examples:
|
|
|
|
|
|
## Examples
|
|
|
Throws a potion at the target that slows them down.
|
|
|
```yaml
|
|
|
ThrownCripplingPotion:
|
... | ... | |