|
|
[< Back to mechanic page](/Skills/Mechanics)
|
|
|
|
|
|
## Description
|
|
|
Directly controls the entity to move at a certain direction.<br>
|
|
|
This mechanic accounts for step height, meaning the entity would move up blocks based on its step height.
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Type | Default |
|
|
|
|-----------|---------|------------------------------------------------------------------------------------------|---------|---------|
|
|
|
| side | x | Left/right movement of the entity | Double | 0 |
|
|
|
| up | y | Up/down movement of the entity | Double | 0 |
|
|
|
| front | z | Front/back movement of the entity | Double | 0 |
|
|
|
| speed | | Speed modifier of the mount | Double | 1 |
|
|
|
| global | g | Whether the direction is using global axis | Boolean | false |
|
|
|
| queue | q | Queue the movement<br>Mainly used for calling this method outside of [Meta Controller][] | Boolean | false |
|
|
|
|
|
|
## Examples
|
|
|
#### Move forward:
|
|
|
|
|
|
This will force the entity to keep moving forward at 2x movement speed.
|
|
|
|
|
|
```yaml
|
|
|
Skills:
|
|
|
- move{z=1;speed=2} @self
|
|
|
```
|
|
|
|
|
|
[Meta Controller]: /Skills/Mechanics/Technical/Mount-Controllers#meta-controllers |
|
|
\ No newline at end of file |