|
|
## Description
|
|
|
Moves towards the target to be within a certain range
|
|
|
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| speed | s | The speed modifier | 1 |
|
|
|
| minrange | minrange, range, r, distance, d | The minimum range to from the target entity | 10.0 |
|
|
|
| maxrange | maxrange, maxr | The maximum range to from the target entity | 32.0 |
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
```yaml
|
|
|
AIGoalSelectors:
|
|
|
- clear
|
|
|
- moveTowardsDistanceOfTarget{s=2;minr=3;maxrange=6}
|
|
|
```
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
- [x] moveWithin |
|
|
\ No newline at end of file |