Skip to content

BubbleColumns 5.46.0 ​

final class · pocketmine\world\generator\populator\BubbleColumns · source

Implements Populator

Fills the water sources above the soul sand and magma blocks of a generated chunk with bubble columns.

Vanilla (Java) marks the block above soul sand / magma for post-processing during generation, and the water there builds its column when the chunk becomes ticking. Generated chunks never get those updates in PocketMine, so the columns are written directly at population time (same end result, without the 20 tick delay).

Methods ​

fillChunk() ​

php
public static function fillChunk(\pocketmine\world\format\Chunk $chunk, int $minY, int $maxY) : int

Writes the columns of one chunk. Returns how many column blocks were written.

populate() ​

php
public function populate(\pocketmine\world\ChunkManager $world, int $chunkX, int $chunkZ, \pocketmine\utils\Random $random) : void

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