Set Faction

Description

Sets or changes the target mob's faction.

Attributes

Attribute Aliases Description Default
faction f The name of the faction to apply to the mob

Examples

Sets the faction of the mob to "Hostile" when the mob spawns.

  Skills:
  - setFaction{faction=Hostile} @self ~onSpawn
Updated Aug 19, 2026