pocketmine\entity\ai\hostile\goal
Classes
| Name | Kind | Summary |
|---|---|---|
| AngerTargetGoal 5.46.0 | class | Attacks whoever the mob is angry at (vanilla minecraft😠 zombified piglins, piglins, endermen, silverfish) |
| BlazeAttackGoal 5.46.0 | class | The blaze's attack (Java BlazeAttackGoal; Bedrock blaze |
| BreezeAttackGoal 5.46.0 | class | Breeze combat (Bedrock breeze |
| CrossbowAttackGoal 5.46.0 | class | Crossbow users (pillagers, piglins): load the crossbow (25 ticks, vanilla charge_held_item), wait 1-2 seconds, then shoot; walk to the targe |
| EvokerCastGoal 5.46.0 | class | The evoker's spells (vanilla behavior |
| EvokerWololoGoal 5.46.0 | class | The evoker's "wololo" spell (vanilla behavior |
| FleeBlockGoal 5.46.0 | class | Walks away from a block the mob is afraid of (vanilla behavior |
| FleeEntityGoal 5.46.0 | class | Walks away from a dangerous entity when it comes closer than $distance (vanilla behavior |
| FreeMeleeAttackGoal 5.46.0 | class | Flies or swims straight at the attack target and hits it when their bounding boxes (grown by $reach) touch (vanilla charge_attack of vexes, |
| FreeWanderGoal 5.46.0 | class | Moves a flying or swimming mob to random points nearby from time to time (vanilla behavior |
| GhastShootGoal 5.46.0 | class | The ghast's fireballs (Java GhastShootFireballGoal, Bedrock behavior |
| GuardianAttackGoal 5.46.0 | class | The guardian's laser (vanilla behavior |
| HopGoal 5.46.0 | class | AI of hopping mobs (vanilla slime_attack, slime_random_direction, slime_keep_on_jumping): hop towards the attack target (or a luring point, |
| NearestLivingTargetGoal 5.46.0 | class | Targets the nearest living entity in range accepted by a filter (vanilla behavior |
| PhantomAttackGoal 5.46.0 | class | Phantom flight (vanilla behavior |
