Skip to content

ChunkUtils ​

class · pocketmine\world\format\io\ChunkUtils · source

Methods ​

convertBiomeColors() ​

php
public static function convertBiomeColors(array $array) : string

Converts pre-MCPE-1.0 biome color array to biome ID array.

extrapolate3DBiomes() ​

php
public static function extrapolate3DBiomes(string $biomes2d) : \pocketmine\world\format\PalettedBlockArray

Converts 2D biomes into a 3D biome palette. This palette can then be cloned for every subchunk.

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