Skip to content

pocketmine\entity\ai\hostile\goal ​

Classes ​

NameKindSummary
AngerTargetGoal 5.46.0classAttacks whoever the mob is angry at (vanilla minecraft😠 zombified piglins, piglins, endermen, silverfish)
BlazeAttackGoal 5.46.0classThe blaze's attack (Java BlazeAttackGoal; Bedrock blaze
BreezeAttackGoal 5.46.0classBreeze combat (Bedrock breeze
CrossbowAttackGoal 5.46.0classCrossbow 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.0classThe evoker's spells (vanilla behavior
EvokerWololoGoal 5.46.0classThe evoker's "wololo" spell (vanilla behavior
FleeBlockGoal 5.46.0classWalks away from a block the mob is afraid of (vanilla behavior
FleeEntityGoal 5.46.0classWalks away from a dangerous entity when it comes closer than $distance (vanilla behavior
FreeMeleeAttackGoal 5.46.0classFlies 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.0classMoves a flying or swimming mob to random points nearby from time to time (vanilla behavior
GhastShootGoal 5.46.0classThe ghast's fireballs (Java GhastShootFireballGoal, Bedrock behavior
GuardianAttackGoal 5.46.0classThe guardian's laser (vanilla behavior
HopGoal 5.46.0classAI 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.0classTargets the nearest living entity in range accepted by a filter (vanilla behavior
PhantomAttackGoal 5.46.0classPhantom flight (vanilla behavior

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.