... | @@ -22,19 +22,19 @@ This zombie would attack players, and walk around randomly when not targeting an |
... | @@ -22,19 +22,19 @@ This zombie would attack players, and walk around randomly when not targeting an |
|
|
|
|
|
**All Mobs**
|
|
**All Mobs**
|
|
|
|
|
|
| AI Goal | Aliases | Description |
|
|
| AI Goal | Aliases | Description |
|
|
| ------------- | ---------------- | ----------------------------------------------------- |
|
|
|------------------------------------|------------------|----------------------------------------------------------------------------------------------------------|
|
|
| clear | reset | Removes the AI from the mob |
|
|
| clear | reset | Removes the AI from the mob |
|
|
| breakdoors | | Causes the mob to break down doors it runs into |
|
|
| breakdoors | | Causes the mob to break down doors it runs into |
|
|
| eatgrass | | Makes the mob occasionally… eat grass |
|
|
| eatgrass | | Makes the mob occasionally… eat grass |
|
|
| float | swim | Makes the mob swim in water/not sink |
|
|
| float | swim | Makes the mob swim in water/not sink |
|
|
| lookatplayers | | The mob will look at nearby players |
|
|
| lookatplayers | | The mob will look at nearby players |
|
|
| opendoors | opendoor | The mob will open doors it runs into and close the door behind it |
|
|
| opendoors | opendoor | The mob will open doors it runs into and close the door behind it |
|
|
| closedoors | restrictopendoor | Not sure what this one does |
|
|
| closedoors | restrictopendoor | Not sure what this one does |
|
|
| randomlookaround | lookaround | The mob will randomly look around |
|
|
| randomlookaround | lookaround | The mob will randomly look around |
|
|
| gotospawnlocation | gotospawn | Mob will pathfind to the its spawn location |
|
|
| gotospawnlocation | gotospawn | Mob will pathfind to the its spawn location |
|
|
| fleeConditional **[Premium-only]** | fleeIf | Causes the mob to flee based on provided conditions. Safe speed is required for distanes greater than 5. |
|
|
| 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. |
|
|
| doNothing **[Premium-only]** | | Causes the mob to do nothing if conditions are met. |
|
|
|
|
|
|
FleeConditional Example:
|
|
FleeConditional Example:
|
|
```
|
|
```
|
... | @@ -45,51 +45,51 @@ AIGoalSelectors: |
... | @@ -45,51 +45,51 @@ AIGoalSelectors: |
|
|
|
|
|
**Creatures Only**
|
|
**Creatures Only**
|
|
|
|
|
|
| AI Goal | Aliases | Description |
|
|
| AI Goal | Aliases | Description |
|
|
| ------------- | ---------------- | ----------------------------------------------------- |
|
|
|-------------------------------------|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| avoidcreepers | | Causes the mob to avoid Creepers |
|
|
| avoidcreepers | | Causes the mob to avoid Creepers |
|
|
| avoidskeletons | | Causes the mob to avoid Skeletons |
|
|
| avoidskeletons | | Causes the mob to avoid Skeletons |
|
|
| avoidzombies | | Causes the mob to avoid Zombies |
|
|
| avoidzombies | | Causes the mob to avoid Zombies |
|
|
| fleesun | | The mob will hide in the shade when the sun it out |
|
|
| fleesun | | The mob will hide in the shade when the sun it out |
|
|
| meleeattack | | Causes the mob to move to and melee-attack its target |
|
|
| meleeattack | | Causes the mob to move to and melee-attack its target |
|
|
| movetowardstarget | | Causes the mob to move towards its target |
|
|
| movetowardstarget | | Causes the mob to move towards its target |
|
|
| randomstroll | | The mob will randomly walk around |
|
|
| randomstroll | | The mob will randomly walk around |
|
|
| restrictsun | | In theory this will keep the mob from entering sunlight |
|
|
| restrictsun | | In theory this will keep the mob from entering sunlight |
|
|
| fleeplayers | runfromplayers | Causes the mob to avoid Players |
|
|
| fleeplayers | runfromplayers | Causes the mob to avoid Players |
|
|
| fleegolems | runfromgolems | Causes the mob to avoid Iron Golems |
|
|
| fleegolems | runfromgolems | Causes the mob to avoid Iron Golems |
|
|
| fleevillagers | runfromvillagers | Causes the mob to avoid villagers |
|
|
| fleevillagers | runfromvillagers | Causes the mob to avoid villagers |
|
|
| fleewolves | runfromwolves | Causes the mob to avoid wolves |
|
|
| fleewolves | runfromwolves | Causes the mob to avoid wolves |
|
|
| fleefaction | runfromfaction | Causes the mob to avoid entities in a given faction |
|
|
| fleefaction | runfromfaction | Causes the mob to avoid entities in a given faction |
|
|
| spiderattack | | Uses the attack a spider would (doesn't seem any different from a meleeattack) |
|
|
| spiderattack | | Uses the attack a spider would (doesn't seem any different from a meleeattack) |
|
|
| leapattarget | | Makes the mob leap at its target |
|
|
| leapattarget | | Makes the mob leap at its target |
|
|
| moveindoors | | |
|
|
| moveindoors | | |
|
|
| movethroughvillage | | |
|
|
| movethroughvillage | | |
|
|
| movetowardsrestriction | | |
|
|
| movetowardsrestriction | | |
|
|
| patrol x1,y1,z1;x2,y2,z2;x3,y3,z3;… | patrolroute | Makes the mob patrol between the specified locations |
|
|
| 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) |
|
|
| 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 when beyond a certain distance (defaults to 5 blocks,Notice Followrange must more than the distance between location and mob) |
|
|
| gotoowner # | | Makes the mob move towards its owner when beyond a certain distance (defaults to 5 blocks,Notice Followrange must more than the distance between location and mob) |
|
|
| gotoparent | | Makes the mob move towards its parent mob |
|
|
| gotoparent | | Makes the mob move towards its parent mob |
|
|
| panicWhenOnFire | panic | Run around panicking when on fire and look for water
|
|
| panicWhenOnFire | panic | Run around panicking when on fire and look for water |
|
|
| randomFly | | Fly around randomly |
|
|
| randomFly | | Fly around randomly |
|
|
|
|
|
|
**Creepers Only**
|
|
**Creepers Only**
|
|
|
|
|
|
| AI Goal | Aliases | Description |
|
|
| AI Goal | Aliases | Description |
|
|
| ------------- | ---------------- | ----------------------------------------------------- |
|
|
|--------------|----------------|-----------------------------------------------|
|
|
| creeperswell | creeperexplode | Make a creeper want to explode on its target. |
|
|
| creeperswell | creeperexplode | Make a creeper want to explode on its target. |
|
|
|
|
|
|
**Ranged Entities Only**
|
|
**Ranged Entities Only**
|
|
|
|
|
|
| AI Goal | Aliases | Description |
|
|
| AI Goal | Aliases | Description |
|
|
| ----------------- | ----------------------- | ----------------------------------------------------- |
|
|
|--------------------------------------------|---------------------|----------------------------------|
|
|
| arrowattack | | Projectile attack (shooting a bow for a skeleton) |
|
|
| [rangedattack](/Mobs/ai/goals/arrowattack) | arrowattack | A basic ranged/projectile attack |
|
|
| skeletonbowattack | bowshoot, bowmaster | Draw the bow and shoot the arrow |
|
|
| [bowattack](/Mobs/ai/goals/bowattack) | bowshoot, bowmaster | An advanced bow attack. |
|
|
|
|
|
|
**Piglins and Pillagers Only**
|
|
**Piglins and Pillagers Only**
|
|
|
|
|
|
| AI Goal | Aliases | Description |
|
|
| AI Goal | Aliases | Description |
|
|
| ------------- | ---------------- | ----------------------------------------------------- |
|
|
|----------------|---------|------------------------|
|
|
| crossbowAttack | | attack with a crossbow |
|
|
| crossbowAttack | | attack with a crossbow |
|
|
|
|
|
|
**AI Target Selectors**
|
|
**AI Target Selectors**
|
|
---
|
|
---
|
... | @@ -114,15 +114,15 @@ SuperMob: |
... | @@ -114,15 +114,15 @@ SuperMob: |
|
|
|
|
|
**All Creatures**
|
|
**All Creatures**
|
|
|
|
|
|
| AI Goal | Aliases | Description |
|
|
| AI Goal | Aliases | Description |
|
|
| ------------- | ---------------- | ----------------------------------------------------- |
|
|
|---------------------------------------------|-------------------------------|----------------------------------------------------------------|
|
|
| clear | | Special Option. Clears all of the mob's AI. |
|
|
| clear | | Special Option. Clears all of the mob's AI. |
|
|
| attacker | hurtbytarget, damager | Targets whatever attacks the mob |
|
|
| attacker | hurtbytarget, damager | Targets whatever attacks the mob |
|
|
| monsters | | Targets monsters. |
|
|
| monsters | | Targets monsters. |
|
|
| players | | Targets players. |
|
|
| players | | Targets players. |
|
|
| villagers | | Targets villagers. |
|
|
| villagers | | Targets villagers. |
|
|
| golems | | Targets Golems. |
|
|
| golems | | Targets Golems. |
|
|
| nearestConditionalTarget **[Premium-only]** | nearestConditional, nearestIf | Targets the nearest entity that meets the conditions provided. |
|
|
| nearestConditionalTarget **[Premium-only]** | nearestConditional, nearestIf | Targets the nearest entity that meets the conditions provided. |
|
|
|
|
|
|
NearestConditionalTarget Example:
|
|
NearestConditionalTarget Example:
|
|
```
|
|
```
|
... | @@ -136,13 +136,13 @@ AITargetSelectors: |
... | @@ -136,13 +136,13 @@ AITargetSelectors: |
|
|
|
|
|
**All Creatures(Faction Support)**
|
|
**All Creatures(Faction Support)**
|
|
|
|
|
|
| AI Goal | Description |
|
|
| AI Goal | Description |
|
|
| ------------- | ----------------------------------------------------- |
|
|
|----------------------------------------|--------------------------------------------------------|
|
|
| OtherFaction | Targets ANY entities that are in a different faction. |
|
|
| OtherFaction | Targets ANY entities that are in a different faction. |
|
|
| OtherFactionMonsters | Targets any monsters 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. |
|
|
| OtherFactionVillagers | Targets any villagers that are in a different faction. |
|
|
| SpecificFaction [faction_name] | Targets any entities that are in the given faction. |
|
|
| SpecificFaction [faction_name] | Targets any entities that are in the given faction. |
|
|
| SpecificFactionMonsters [faction_name] | Targets any monsters that are in the given faction. |
|
|
| SpecificFactionMonsters [faction_name] | Targets any monsters that are in the given faction. |
|
|
|
|
|
|
Example:
|
|
Example:
|
|
|
|
|
... | @@ -155,7 +155,7 @@ This will force a mob to attack mobs only in the “undead” faction. |
... | @@ -155,7 +155,7 @@ This will force a mob to attack mobs only in the “undead” faction. |
|
|
|
|
|
**Tameable Creatures**
|
|
**Tameable Creatures**
|
|
|
|
|
|
| AI Goal | Description |
|
|
| AI Goal | Description |
|
|
| ------------- | ----------------------------------------------------- |
|
|
|---------------|-------------------------------------------|
|
|
| ownerattacker | Targets whatever attacks the mob's owner. |
|
|
| ownerattacker | Targets whatever attacks the mob's owner. |
|
|
| ownertarget | Targets whatever the mob's owner attacks. | |
|
| ownertarget | Targets whatever the mob's owner attacks. | |
|
\ No newline at end of file |
|
\ No newline at end of file |