Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 137
    • Issues 137
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Wiki
    • Skills
    • Mechanics
  • setFaction

setFaction · Changes

Page history
Reformatted with title bar, header colons and better spacing. Moved example... authored Oct 20, 2023 by Dante's avatar Dante
Reformatted with title bar, header colons and better spacing. Moved example description above example and colorized example.
Hide whitespace changes
Inline Side-by-side
Showing with 9 additions and 9 deletions
+9 -9
  • skills/mechanics/setFaction.md skills/mechanics/setFaction.md +9 -9
  • No files found.
skills/mechanics/setFaction.md
View page @ c36adb48
Mechanic: setFaction
=================
## Description:
Sets or changes the target mob's faction.
Attributes
----------
## Attributes:
| Attribute | Aliases | Description | Default Value |
|-----------|------------|----------------------------------------------------------------------------------------------------------------|---------------|
| faction | | The name of the faction to apply to the mob. | NONE |
Examples
--------
Skills:
- setFaction{faction=Hostile} @self ~onSpawn
## Examples:
Sets the faction of the mob to "Hostile" when the mob spawns.
\ No newline at end of file
Sets the faction of the mob to "Hostile" when the mob spawns.
```yaml
Skills:
- setFaction{faction=Hostile} @self ~onSpawn
```
\ No newline at end of file
Clone repository
Home
Changelogs
Premium Features
Commands and Permissions
FAQ / Common Issues
Mythic Add-ons
Compatible Plugins
API Information
Packs
Mobs
  • Mob Options
    • Display Options
  • Mob Levels
  • Mob Factions
  • Power Scaling
  • Damage Modifiers
  • Equipment
  • BossBar
  • Custom AI
  • Custom Kill Messages
  • Threat Tables
  • Immunity Tables
  • Templates
  • Vanilla Overrides
  • Extra: Disguises
  • Extra: ModelEngine
Skills
  • Mechanics
  • Effects
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
  • Math
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drop Types
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Examples
Useful Tips