... | ... | @@ -9,7 +9,8 @@ Causes the mob to flee based on provided conditions. |
|
|
| distance | d | The distance for mobs to be from the mob itself | 4 |
|
|
|
| speed | s | The speed at which to flee | 1.2 |
|
|
|
| safespeed | ss | The speed at which to flee once a safe distance (50 blocks) away | 1 |
|
|
|
| conditions | | The conditions to use | |
|
|
|
| conditions | c, cond, fleeconditions | The conditions to use | |
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
```yaml
|
... | ... | @@ -18,4 +19,8 @@ ExampleMob: |
|
|
AIGoalSelectors:
|
|
|
- clear
|
|
|
- fleeConditional{distance=5;speed=2;safespeed=2;conditions=[ - inlineofsight true ]}
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
|
|
|
## Aliases
|
|
|
- [x] fleeif |
|
|
\ No newline at end of file |