Blaze 5.46.0
Extends Monster
Bedrock values (blaze.json): 20 health, 0.5x1.8, movement 0.23, follow range 48, fire immune, no fall damage, hurt by water and rain. Melee 6 within 2 blocks, otherwise bursts of three small fireballs (see BlazeAttackGoal). Falls slowly and rises towards targets above it (Java Blaze). Loot: 0-1 blaze rod (+0-1 per Looting level) when killed by a player. Experience 10.
Constants
FIREBALL_SPEED
php
public const FIREBALL_SPEED = 1.3FOLLOW_RANGE
php
public const FOLLOW_RANGE = 48.0MELEE_DAMAGE
php
public const MELEE_DAMAGE = 6.0Methods
calculateFallDamage() protected
php
protected function calculateFallDamage(float $fallDistance) : floatentityBaseTick() protected
php
protected function entityBaseTick(int $tickDiff = 1) : boolgetDrops()
php
public function getDrops() : arraygetFreezeDamage() protected
php
protected function getFreezeDamage() : floatgetInitialSizeInfo() protected
php
protected function getInitialSizeInfo() : \pocketmine\entity\EntitySizeInfogetName()
php
public function getName() : stringgetNetworkTypeId()
php
public static function getNetworkTypeId() : stringgetPickedItem()
php
public function getPickedItem() : ?\pocketmine\item\ItemgetXpDropAmount()
php
public function getXpDropAmount() : inthasMovementUpdate()
php
public function hasMovementUpdate() : boolinitEntity() protected
php
protected function initEntity(\pocketmine\nbt\tag\CompoundTag $nbt) : voidisCharged()
php
public function isCharged() : boolisFireProof()
php
public function isFireProof() : boolregisterGoals() protected
php
protected function registerGoals() : voidsetCharged()
php
public function setCharged(bool $charged) : voidshootFireball()
php
public function shootFireball(\pocketmine\entity\Living $target, float $distSq) : voidShoots a small fireball at the target, spread more the farther it is (Java: sqrt(sqrt(distance)) * 0.5).
syncNetworkData() protected
php
protected function syncNetworkData(\pocketmine\network\mcpe\protocol\types\entity\EntityMetadataCollection $properties) : voidtryChangeMovement() protected
php
protected function tryChangeMovement() : void