Description
Causes the target to change its speed attribute
Attributes
Attribute | Aliases | Description | Default |
---|---|---|---|
speed | a, amount, m, multiplier, s, v, value | Speed of the entity | 1 |
type | t | Type of speed, can be FLY or any other string. If not exactly FLY , this will change walk speed |
WALK |
Speed Attribute
To make this mechanic set a specific MovementSpeed its speed
attribute will need a value of
speed=MovementSpeed*5
or, to say it in other words
MovementSpeed=speed/5
So, if you want to set the mob's MovementSpeed to 0.2, you will need a speed value of 1; if you want a MovementSpeed of 0.4, you will need a speed value of 2 and so on
Examples
This will set the mob's walking speed to 2 when it spawns
Skills:
- setspeed{speed=2;type=walking} ~onSpawn