Skip to content

BreezeAttackGoal 5.46.0 ​

class · pocketmine\entity\ai\hostile\goal\BreezeAttackGoal · source

Extends Goal

Breeze combat (Bedrock breeze.json): behavior.fire_at_target (0.75 s aim, wind charge, 0.2 s recovery, 0.5 s cooldown, within 16 blocks, only when standing), behavior.jump_around_target (leaps to 4-8 blocks from the target, at most 1.4 blocks per tick) and behavior.move_around_target (walks to 4-8 blocks from the target).

Constants ​

JUMP_COOLDOWN_TICKS ​

php
public const JUMP_COOLDOWN_TICKS = 10

JUMP_RANGE ​

php
public const JUMP_RANGE = 24.0

POST_SHOOT_TICKS ​

php
public const POST_SHOOT_TICKS = 4

PRE_SHOOT_TICKS ​

php
public const PRE_SHOOT_TICKS = 15

SHOOT_COOLDOWN_TICKS ​

php
public const SHOOT_COOLDOWN_TICKS = 10

SHOOT_RANGE ​

php
public const SHOOT_RANGE = 16.0

Properties ​

$breeze ​

php
public \pocketmine\entity\monster\Breeze $breeze

Methods ​

__construct() ​

php
public function __construct(\pocketmine\entity\monster\Breeze $breeze)

canStart() ​

php
public function canStart() : bool

getFlags() ​

php
public function getFlags() : int

stop() ​

php
public function stop() : void

tick() ​

php
public function tick() : void

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