ConditionEntity
faction
since v4.9Tests the target's faction
Configuration Fields (1)
| Name | Type | Default | Description |
|---|---|---|---|
| faction f | PlaceholderString | — | The faction to check |
Examples & Notes
Examples
TargetConditions:
- faction{faction=MyFaction} true
Universal Condition Options
Mentioned by
AIGoalfleeFaction
Runs away from nearby entities that is in a specific faction
AIGoalnearestOtherFaction
Target a nearby entity that is in a different faction
AIGoalnearestOtherFactionMonsters
Target a nearby monster that is in a different faction
AIGoalnearestSpecificFaction
Target a nearby entity that is in a specific faction
AIGoalnearestSpecificFactionMonsters
Target a nearby monster that is in a specific faction
Conditionsamefaction
Tests if the target is in the same faction as the caster
Mechanicsetfaction
Sets the target mob's faction
- Author:
- Ashijin
