|
|
Mechanic: RunAITargetSelector
|
|
|
=============================
|
|
|
|
|
|
**Aliases**: aitarget
|
|
|
|
|
|
Change target 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 runaitargetselector and add the goals
|
... | ... | @@ -9,21 +11,7 @@ runaitargetselector skill, you can only use one pathfindergoal in the |
|
|
mechanic. But aslong as you dont use clear, the pathfindergoal is added
|
|
|
to the end of the already existing goals of the entity.
|
|
|
|
|
|
Possible Pathfindergoals
|
|
|
------------------------
|
|
|
|
|
|
- clear / reset (clear all goals of the entity)
|
|
|
- hurtbytarget / damager / attacker
|
|
|
- ownerhurttarget / ownertarget
|
|
|
- monsters
|
|
|
- players
|
|
|
- villagers
|
|
|
- iron_golems / golems
|
|
|
- otherfaction
|
|
|
- otherfactionmonsters
|
|
|
- otherfactionvillagers
|
|
|
- specificfaction
|
|
|
- specificfactionmonsters
|
|
|
A list of available targets can be found [here](/Mobs/Custom-AI#ai-target-selectors)
|
|
|
|
|
|
Example
|
|
|
-------
|
... | ... | @@ -34,4 +22,4 @@ Skill.yml: |
|
|
Skills:
|
|
|
- runaitargetselector{target=clear}
|
|
|
- runaitargetselector{target=players}
|
|
|
- runaitargetselector{target=monsters} |
|
|
- runaitargetselector{target=monsters} |
|
|
\ No newline at end of file |