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