Skip to content

OozingEffect 5.47.0 ​

class · pocketmine\entity\effect\OozingEffect · source

Extends Effect

Oozing (https://minecraft.wiki/w/Oozing): 2 medium slimes (size 2) come out of the entity when it dies, half a block above where it died (Java OozingMobEffect). Bedrock has no entity cramming rule, so the nearby slime count of Java doesn't limit them, and the amplifier doesn't change the count. Nothing spawns in peaceful, where slimes despawn. Slimes themselves are immune to it.

Constants ​

SLIME_COUNT ​

php
public const SLIME_COUNT = 2

SLIME_SIZE ​

php
public const SLIME_SIZE = 2

Methods ​

onEntityDeath() ​

php
public function onEntityDeath(\pocketmine\entity\Living $entity, \pocketmine\entity\effect\EffectInstance $instance) : void

spawnSlimes() ​

php
public static function spawnSlimes(\pocketmine\entity\Living $entity) : array

Spawns the slimes of a dead oozing entity and returns them (none in peaceful).

VanillaMine is a fork of PocketMine-MP. Not affiliated with the PMMP team or Mojang.