|
Mechanic: Set Speed
|
|
|
|
===================
|
|
===================
|
|
|
|
|
|
|
|
## Description:
|
|
|
|
|
|
Causes the target to change its speed attribute
|
|
Causes the target to change its speed attribute
|
|
|
|
|
|
Attributes
|
|
## Attributes:
|
|
----------
|
|
|
|
|
|
|
|
| Attributes | Description | Default Value |
|
|
| Attributes | Description | Default Value |
|
|
|------------|-----------------------------------------|---------------|
|
|
|------------|-----------------------------------------|---------------|
|
|
| speed | Speed of the entity | 1 |
|
|
| speed | Speed of the entity | 1 |
|
|
| type | Type of speed, can be WALKING or FLYING | WALKING |
|
|
| type | Type of speed, can be WALKING or FLYING | WALKING |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Examples
|
|
## Examples:
|
|
--------
|
|
|
|
|
|
|
|
This will set the mob's walking speed to 2 when it spawns
|
|
This will set the mob's walking speed to 2 when it spawns
|
|
|
|
```yaml
|
|
- setspeed{speed=2;type=walking} ~onSpawn |
|
Skills:
|
|
|
|
- setspeed{speed=2;type=walking} ~onSpawn
|
|
|
|
``` |
|
|
|
\ No newline at end of file |