|
|
===========================
|
|
|
|
|
|
## Description:
|
|
|
|
|
|
## Description
|
|
|
Change pathfindergoals. It is not possible to use every goal on every
|
|
|
entity. To change the ai of an entity, you need to use clear first.
|
|
|
After that you can use the runaigoalselector and add the goals you need.
|
... | ... | @@ -13,8 +10,14 @@ existing goals of the entity. |
|
|
A list of AI Goals can be found
|
|
|
[here](/Mobs/Custom-AI#ai-goal-selectors)
|
|
|
|
|
|
## Examples:
|
|
|
|
|
|
## Attributes
|
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|
| goal | | The ai goal selector you want to append | |
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
```yaml
|
|
|
TimeToFlee:
|
|
|
ChangePatchfinderGoalExample:
|
... | ... | @@ -24,5 +27,5 @@ TimeToFlee: |
|
|
- runaigoalselector{goal=randomstroll}
|
|
|
```
|
|
|
|
|
|
## Aliases:
|
|
|
[x] aigoal |
|
|
\ No newline at end of file |
|
|
## Aliases
|
|
|
- [x] aigoal |
|
|
\ No newline at end of file |