Skip to content

Blaze 5.46.0 ​

class · pocketmine\entity\monster\Blaze · source

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.3

FOLLOW_RANGE ​

php
public const FOLLOW_RANGE = 48.0

MELEE_DAMAGE ​

php
public const MELEE_DAMAGE = 6.0

Methods ​

calculateFallDamage() protected ​

php
protected function calculateFallDamage(float $fallDistance) : float

entityBaseTick() protected ​

php
protected function entityBaseTick(int $tickDiff = 1) : bool

getDrops() ​

php
public function getDrops() : array

getFreezeDamage() protected ​

php
protected function getFreezeDamage() : float

getInitialSizeInfo() protected ​

php
protected function getInitialSizeInfo() : \pocketmine\entity\EntitySizeInfo

getName() ​

php
public function getName() : string

getNetworkTypeId() ​

php
public static function getNetworkTypeId() : string

getPickedItem() ​

php
public function getPickedItem() : ?\pocketmine\item\Item

getXpDropAmount() ​

php
public function getXpDropAmount() : int

hasMovementUpdate() ​

php
public function hasMovementUpdate() : bool

initEntity() protected ​

php
protected function initEntity(\pocketmine\nbt\tag\CompoundTag $nbt) : void

isCharged() ​

php
public function isCharged() : bool

isFireProof() ​

php
public function isFireProof() : bool

registerGoals() protected ​

php
protected function registerGoals() : void

setCharged() ​

php
public function setCharged(bool $charged) : void

shootFireball() ​

php
public function shootFireball(\pocketmine\entity\Living $target, float $distSq) : void

Shoots 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) : void

tryChangeMovement() protected ​

php
protected function tryChangeMovement() : void

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