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 151
    • Issues 151
    • 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
    • Mobs
  • Custom AI

Custom AI · Changes

Page history
Slight updates to layout, removed examples from this page for individual goals... authored Oct 25, 2023 by Amy's avatar Amy
Slight updates to layout, removed examples from this page for individual goals since they have their own pages now
Hide whitespace changes
Inline Side-by-side
Showing with 4 additions and 30 deletions
+4 -30
  • Mobs/Custom-AI.md Mobs/Custom-AI.md +4 -30
  • No files found.
Mobs/Custom-AI.md
View page @ 771a505e
......@@ -33,15 +33,8 @@ This zombie would attack players, and walk around randomly when not targeting an
| closedoors | restrictopendoor | Not sure what this one does |
| randomlookaround | lookaround | The mob will randomly look around |
| [gotospawnlocation](/Mobs/ai/goals/gotospawn) | gotospawn | Mob will pathfind to the its spawn location |
| fleeConditional(/Mobs/ai/goals/fleeconditional) **[Premium-only]** | fleeIf | Causes the mob to flee based on provided conditions. Safe speed is required for distanes greater than 5. |
| doNothing **[Premium-only]** | | Causes the mob to do nothing if conditions are met. |
FleeConditional Example:
```yaml
AIGoalSelectors:
- clear
- fleeConditional{distance=5;speed=2;safespeed=2;conditions=[ - inlineofsight true ]}
```
| [fleeConditional](/Mobs/ai/goals/fleeconditional)<br>**[Premium-only]** | fleeIf | Causes the mob to flee based on provided conditions. Safe speed is required for distanes greater than 5. |
| doNothing<br>**[Premium-only]** | | Causes the mob to do nothing if conditions are met. |
**Creatures Only**
......@@ -131,19 +124,9 @@ SuperMob:
| players | | Targets players. |
| villagers | | Targets villagers. |
| golems | | Targets Golems. |
| [nearestConditionalTarget](/Mobs/ai/targets/nearestconditionaltarget) **[Premium-only]** | nearestConditional, nearestIf | Targets the nearest entity that meets the conditions provided. |
NearestConditionalTarget Example:
```yaml
AITargetSelectors:
- clear
- nearestConditionalTarget{conditions=[
- entitytype PLAYER true
- hasaura{aura=marked_for_death} true
]}
```
| [nearestConditionalTarget](/Mobs/ai/targets/nearestconditionaltarget)<br>**[Premium-only]** | nearestConditional, nearestIf | Targets the nearest entity that meets the conditions provided. |
**All Creatures(Faction Support)**
**All Creatures ([Faction](Mobs/Factions) Support)**
| AI Goal | Description |
|----------------------------------------|--------------------------------------------------------|
......@@ -153,15 +136,6 @@ AITargetSelectors:
| [SpecificFaction](/Mobs/ai/targets/specificfaction) [faction_name] | Targets any entities that are in the given faction. |
| [SpecificFactionMonsters](/Mobs/ai/targets/specificfactionmonsters) [faction_name] | Targets any monsters that are in the given faction. |
Example:
```yaml
AITargetSelectors:
- SpecificFaction undead
```
This will force a mob to attack mobs only in the “undead” faction.
**Tameable Creatures**
| AI Goal | Description |
......
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