Skip to content

MagmaCube 5.46.0 ​

class · pocketmine\entity\monster\MagmaCube · source

Extends Slime

Bedrock values (magma_cube.json): a fire immune slime. Size 4: 16 health, movement 0.75, 6 damage; size 2: 4 health, 0.66, 4 damage; size 1: 1 health, 0.6, 3 damage (even small ones hurt). Hops every 2-6 seconds (0.67-2 with a target), higher than slimes (Java: +0.1 jump per size). Loot (sizes 2 and 4): 0-1 magma cream (+0-1 per Looting level).

Methods ​

createChild() protected ​

php
protected function createChild(\pocketmine\entity\Location $location, int $size) : \pocketmine\entity\monster\Slime

getAggressiveJumpDelay() protected ​

php
protected function getAggressiveJumpDelay() : array

getCalmJumpDelay() protected ​

php
protected function getCalmJumpDelay() : array

getContactDamage() ​

php
public function getContactDamage() : float

getDrops() ​

php
public function getDrops() : array

getFreezeDamage() protected ​

php
protected function getFreezeDamage() : float

getJumpVelocityForHop() protected ​

php
protected function getJumpVelocityForHop() : float

getName() ​

php
public function getName() : string

getNetworkTypeId() ​

php
public static function getNetworkTypeId() : string

getPickedItem() ​

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

getSpeedForSize() protected ​

php
protected function getSpeedForSize() : float

isFireProof() ​

php
public function isFireProof() : bool

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