Changes
Page history
Create Mobs/ai/goals/movetowardsconditional
authored
Oct 23, 2023
by
Amy
Hide whitespace changes
Inline
Side-by-side
Mobs/ai/goals/movetowardsconditional.md
0 → 100644
View page @
fe20703f
## Description
Causes the mob to move towards targets based on provided conditions.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| distance | d | The speed to move towards targets | 0.9 |
| maxrange | range,r | The max range of the target | 32 |
| conditions | | The conditions to use | |
## Examples
```
yaml
ExampleMob
:
Type
:
ZOMBIE
AIGoalSelectors
:
-
clear
-
movetowardsconditional{d=2;r=16;conditions=[ - inlineofsight
true
]}
```
\ No newline at end of file