Changes
Page history
Create Mobs/ai/goals/fleePlayers
authored
Oct 23, 2023
by
Amy
Show whitespace changes
Inline
Side-by-side
Mobs/ai/goals/fleePlayers.md
0 → 100644
View page @
0f60c7b2
## Description
Causes the mob to flee from players.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| distance | d | The distance for targets to be from the mob itself | 16 |
| 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 |
## Examples
```
yaml
ExampleMob
:
Type
:
ZOMBIE
AIGoalSelectors
:
-
clear
-
fleeplayers{d=10;s=2;ss=1}
```
\ No newline at end of file