OozingEffect 5.47.0
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 = 2SLIME_SIZE
php
public const SLIME_SIZE = 2Methods
onEntityDeath()
php
public function onEntityDeath(\pocketmine\entity\Living $entity, \pocketmine\entity\effect\EffectInstance $instance) : voidspawnSlimes()
php
public static function spawnSlimes(\pocketmine\entity\Living $entity) : arraySpawns the slimes of a dead oozing entity and returns them (none in peaceful).
