|
Mechanic: GoTo
|
|
Mechanic: GoTo
|
|
============================
|
|
============================
|
|
|
|
|
|
Tells a mob to GoTo a location or an entity targeter
|
|
Causes the mob to pathfind to a location.
|
|
|
|
|
|
Attributes
|
|
Attributes
|
|
----------
|
|
----------
|
|
|
|
|
|
| Attribute | Aliases | Description | Default Value |
|
|
| Attribute | Aliases | Description | Default Value |
|
|
|-------------|---------|------------------------------------|---------------|
|
|
|---------------|---------|-------------------------------------------------------------------------------|---------------|
|
|
| speedModifier | s | The movement speed modifier | 1 |
|
|
| speedModifier | s | The movement speed modifier | 1 |
|
|
| spreadH | sh | Amount of horizontal spread it can be away from the target its moving towards | 0 |
|
|
| spreadH | sh | Amount of horizontal spread it can be away from the target its moving towards | 0 |
|
|
| spreadV | sv | Amount of vertical spread it can be away from the target its moving towards | 0 |
|
|
| spreadV | sv | Amount of vertical spread it can be away from the target its moving towards | 0 |
|
... | @@ -16,8 +16,8 @@ Attributes |
... | @@ -16,8 +16,8 @@ Attributes |
|
|
|
|
|
Examples
|
|
Examples
|
|
--------
|
|
--------
|
|
|
|
```yml
|
|
Skills:
|
|
Skills:
|
|
- goto{speedModifier=1;sh=5;sv=5} @owner
|
|
- goto{speedModifier=1;sh=5;sv=5} @owner
|
|
- goto{speedModifier=1;sh=5;sv=5} @location{c=100,65,100}
|
|
- goto{speedModifier=1;sh=5;sv=5} @location{c=100,65,100}
|
|
- ... |
|
``` |
|
\ No newline at end of file |
|
|