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
changed layout authored Mar 16, 2024 by Lxlp's avatar Lxlp
Hide whitespace changes
Inline Side-by-side
Showing with 74 additions and 74 deletions
+74 -74
  • Mobs/Custom-AI.md Mobs/Custom-AI.md +74 -74
  • No files found.
Mobs/Custom-AI.md
View page @ d00bab13
......@@ -21,72 +21,72 @@ SuperMob:
This zombie would attack players, and walk around randomly when not targeting an enemy.
## All Mobs
| AI Goal | Aliases | Description |
|------------------------------------|------------------|----------------------------------------------------------------------------------------------------------|
| clear | reset | Removes the AI from the mob |
| breakdoors | | Causes the mob to break down doors it runs into |
| eatgrass | | Makes the mob occasionally… eat grass |
| float | swim | Makes the mob swim in water/not sink |
| [lookatplayers](/Mobs/ai/goals/lookatplayers) | | The mob will look at nearby players |
| opendoors | opendoor | The mob will open doors it runs into and close the door behind it |
| 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 its spawn location |
| [doNothing](/Mobs/ai/goals/doNothing)<br>**[Premium-only]** | | Causes the mob to do nothing if conditions are met. |
| AI Goal | Aliases | Description |
|--------------------|--------------|--------------------------------------------------------------------|
| clear | reset | Removes the AI from the mob |
| breakdoors | | Causes the mob to break down doors it runs into |
| eatgrass | | Makes the mob occasionally… eat grass |
| float | swim | Makes the mob swim in water/not |
| [lookatplayers](/Mobs/ai/goals/lookatplayers) | | The mob will look at nearby players |
| opendoors | opendoor | The mob will open doors it runs into and close the door behind it |
| 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 its spawn location |
| [doNothing](/Mobs/ai/goals/doNothing)<br>**[Premium-only]** | | Causes the mob to do nothing if conditions are met. |
## Creatures Only
| AI Goal | Aliases | Description |
|-------------------------------------|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| avoidcreepers | | Causes the mob to avoid Creepers |
| avoidskeletons | | Causes the mob to avoid Skeletons |
| avoidzombies | | Causes the mob to avoid Zombies | |
| [meleeattack](/Mobs/ai/goals/meleeattack) | | Causes the mob to move to and melee-attack its target |
| movetowardstarget | | Causes the mob to move towards its target |
| randomstroll | | The mob will randomly walk around |
| restrictsun | | In theory this will keep the mob from entering sunlight |
| [fleeplayers](/Mobs/ai/goals/fleeplayers) | runfromplayers | Causes the mob to avoid Players |
| [fleegolems](/Mobs/ai/goals/fleegolems) | runfromgolems | Causes the mob to avoid Iron Golems |
| [fleevillagers](/Mobs/ai/goals/fleevillagers) | runfromvillagers | Causes the mob to avoid villagers |
| [fleewolf](/Mobs/ai/goals/fleewolf) | runfromwolves | Causes the mob to avoid wolves |
| [fleefaction](/Mobs/ai/goals/fleefaction) | runfromfaction | Causes the mob to avoid entities in a given faction
| [fleesun](/Mobs/ai/goals/fleesun) | | The mob will hide in the shade when the sun it out |
| [fleeConditional](/Mobs/ai/goals/fleeconditional)<br>**[Premium-only]** | fleeIf | Causes the mob to flee based on provided conditions. Safe speed is required for distances greater than 5. |
| spiderattack | | Uses the attack a spider would (doesn't seem any different from a meleeattack) |
| [leapattarget](/Mobs/ai/goals/leapattarget) | | Makes the mob leap at its target |
| moveindoors | | |
| [movethroughvillage](/Mobs/ai/goals/movethroughvillager) | | |
| [movetoblock](/Mobs/ai/goals/movetoblock)| | Makes the mob go towards a specific type of block |
| [movetolava](/Mobs/ai/goals/movetolava) | | Makes the mob move towards lava |
| [movetowater](/Mobs/ai/goals/movetowater) | | Makes the mob move towards water |
| movetowardsrestriction | | |
| [MoveTowardsConditional](/Mobs/ai/goals/movetowardsconditional)<br>**[Premium-only]** | | Causes the mob to move towards a target based on provided conditions. |
| patrol x1,y1,z1;x2,y2,z2;x3,y3,z3;… | patrolroute | Makes the mob patrol between the specified locations |
| gotolocation x,y,z | goto | Makes the mob go to the specified location(Notice Followrange must more than the distance between location and mob) |
| gotoowner # | | Makes the mob move towards its [owner](Skills/Targeters/Owner) when beyond a certain distance (defaults to 5 blocks)<br>[Followrange](Mobs/Options#followrange) must be more than the distance between the owner and the mob) |
| gotoparent | | Makes the mob move towards its parent mob |
| panicWhenOnFire | panic | Run around panicking when on fire and look for water |
| randomFly | | Fly around randomly |
| AI Goal | Aliases | Description |
|--------------------|--------------|--------------------------------------------------------------------|
| avoidcreepers | | Causes the mob to avoid Creepers |
| avoidskeletons | | Causes the mob to avoid Skeletons |
| avoidzombies | | Causes the mob to avoid Zombies |
| [meleeattack](/Mobs/ai/goals/meleeattack) | | Causes the mob to move to and melee-attack its target |
| movetowardstarget | | Causes the mob to move towards its target |
| randomstroll | | The mob will randomly walk around |
| restrictsun | | In theory this will keep the mob from entering sunlight |
| [fleeplayers](/Mobs/ai/goals/fleeplayers) | runfromplayers | Causes the mob to avoid Players |
| [fleegolems](/Mobs/ai/goals/fleegolems) | runfromgolems | Causes the mob to avoid Iron Golems |
| [fleevillagers](/Mobs/ai/goals/fleevillagers) | runfromvillagers | Causes the mob to avoid villagers |
| [fleewolf](/Mobs/ai/goals/fleewolf) | runfromwolves | Causes the mob to avoid wolves |
| [fleefaction](/Mobs/ai/goals/fleefaction) | runfromfaction | Causes the mob to avoid entities in a given faction |
| [fleesun](/Mobs/ai/goals/fleesun) | | The mob will hide in the shade when the sun it out |
| [fleeConditional](/Mobs/ai/goals/fleeconditional)<br>**[Premium-only]** | fleeIf | Causes the mob to flee based on provided conditions. Safe speed is required for distances greater than 5 |
| spiderattack | | Uses the attack a spider would (doesn't seem any different from a meleeattack) |
| [leapattarget](/Mobs/ai/goals/leapattarget) | | Makes the mob leap at its target |
| moveindoors | | |
| [movethroughvillage](/Mobs/ai/goals/movethroughvillager) | | |
| [movetoblock](/Mobs/ai/goals/movetoblock)| | Makes the mob go towards a specific type of block |
| [movetolava](/Mobs/ai/goals/movetolava) | | Makes the mob move towards lava |
| [movetowater](/Mobs/ai/goals/movetowater) | | Makes the mob move towards water |
| movetowardsrestriction | | |
| [MoveTowardsConditional](/Mobs/ai/goals/movetowardsconditional)<br>**[Premium-only]** | | Causes the mob to move towards a target based on provided conditions |
| patrol x1,y1,z1;x2,y2,z2;x3,y3,z3;… | patrolroute|Makes the mob patrol between the specified locations |
| gotolocation x,y,z | goto | Makes the mob go to the specified location(Notice Followrange must more than the distance between location and mob) |
| gotoowner # | | Makes the mob move towards its [owner](/Skills/Targeters/Owner) when beyond a certain distance (defaults to 5 blocks)<br>[Followrange](/Mobs/Options#followrange) must be more than the distance between the owner and the mob) |
| gotoparent | | Makes the mob move towards its parent mob |
| panicWhenOnFire | panic | Run around panicking when on fire and look for water |
| randomFly | | Fly around randomly |
## Animals Only
| AI Goal | Aliases | Description |
|--------------|----------------|-----------------------------------------------|
| [breed](/Mobs/ai/goals/breed) | | Causes the mob to be able to breed with other mobs. |
| AI Goal | Aliases | Description |
|--------------------|--------------|--------------------------------------------------------------------|
| [breed](/Mobs/ai/goals/breed) | | Causes the mob to be able to breed with other mobs |
## Creepers Only
| AI Goal | Aliases | Description |
|--------------|----------------|-----------------------------------------------|
| creeperswell | creeperexplode | Make a creeper want to explode on its target. |
| AI Goal | Aliases | Description |
|--------------------|--------------|--------------------------------------------------------------------|
| creeperswell | creeperexplode | Make a creeper want to explode on its target |
## Ranged Entities Only
| AI Goal | Aliases | Description |
|--------------------------------------------|---------------------|----------------------------------|
| [rangedattack](/Mobs/ai/goals/arrowattack) | arrowattack | A basic ranged/projectile attack |
| [bowattack](/Mobs/ai/goals/bowattack) | bowshoot, bowmaster | An advanced bow attack. |
| AI Goal | Aliases | Description |
|--------------------|--------------|--------------------------------------------------------------------|
| [rangedattack](/Mobs/ai/goals/arrowattack) | arrowattack | A basic ranged/projectile attack |
| [bowattack](/Mobs/ai/goals/bowattack) | bowshoot, bowmaster | An advanced bow attack. |
## Piglins and Pillagers Only
| AI Goal | Aliases | Description |
|-------------------------------------------------|---------|------------------------|
| [crossbowAttack](/Mobs/ai/goals/crossbowattack) | | attack with a crossbow |
| AI Goal | Aliases | Description |
|--------------------|--------------|--------------------------------------------------------------------|
| [crossbowAttack](/Mobs/ai/goals/crossbowattack) | | attack with a crossbow |
# AI Target Selectors
......@@ -110,24 +110,24 @@ SuperMob:
```
## All Creatures
| AI Goal | Aliases | Description |
|---------------------------------------------|-------------------------------|----------------------------------------------------------------|
| clear | | Special Option. Clears all of the mob's AI. |
| attacker | hurtbytarget, damager | Targets whatever attacks the mob |
| monsters | | Targets monsters. |
| players | | Targets players. |
| villagers | | Targets villagers. |
| golems | | Targets Golems. |
| [nearestConditionalTarget](/Mobs/ai/targets/nearestconditionaltarget)<br>**[Premium-only]** | nearestConditional, nearestIf | Targets the nearest entity that meets the conditions provided. |
## All Creatures ([Faction](Mobs/Factions) Support)
| AI Goal | Description |
|----------------------------------------|--------------------------------------------------------|
| OtherFaction | Targets ANY entities that are in a different faction. |
| OtherFactionMonsters | Targets any monsters that are in a different faction. |
| OtherFactionVillagers | Targets any villagers that are in a different faction. |
| [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. |
| AI Target | Aliases | Description |
|--------------------|--------------|--------------------------------------------------------------------|
| clear | | Special Option. Clears all of the mob's AI |
| attacker | hurtbytarget, damager | Targets whatever attacks the mob |
| monsters | | Targets monsters |
| players | | Targets players |
| villagers | | Targets villagers |
| golems | | Targets Golems |
| [nearestConditionalTarget](/Mobs/ai/targets/nearestconditionaltarget)<br>**[Premium-only]** | nearestConditional, nearestIf | Targets the nearest entity that meets the conditions provided |
## All Creatures ([Faction](/Mobs/Factions) Support)
| AI Target | Aliases | Description |
|--------------------|--------------|--------------------------------------------------------------------|
| OtherFaction | | Targets ANY entities that are in a different faction |
| OtherFactionMonsters | | Targets any monsters that are in a different faction |
| OtherFactionVillagers | | Targets any villagers that are in a different faction |
| [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 |
## 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
  • Pins
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
  • Targeters
    • Filters
  • Triggers
  • Conditions
    • In-line conditions
  • Metaskills
  • Placeholders
  • Variables
Items
  • Options
  • Attributes
  • Enchantments
  • Potions
  • Banner Layers
  • Firework
Drops & DropTables
  • Drops
  • DropTables
  • FancyDrops
Spawning
  • Spawners
  • Random Spawns
Stats
  • Custom Stat Options
  • Modifiers
  • Built in Stats
Technical
  • Math
  • Operations
    • Attribute Operations
    • Stats Modifiers
  • Particles Types
  • Audience
Examples
Useful Tips