TheEndBiomeSource 5.46.0
The End's biome source (vanilla TheEndBiomeSource): the_end within 64 chunks of 0,0, elsewhere a biome chosen by the height of the End islands density function at the centre of the chunk (highlands, midlands, small islands or barrens). The biome only depends on the chunk column.
Constants
END_BARRENS
php
public const END_BARRENS = 4END_HIGHLANDS
php
public const END_HIGHLANDS = 1END_MIDLANDS
php
public const END_MIDLANDS = 2NAMES
php
public const NAMES = [self::THE_END => "minecraft:the_end", self::END_HIGHLANDS => "minecraft:end_highlands", self::END_MIDLANDS => "minecraft:end_midlands", self::SMALL_END_ISLANDS => "minecraft:small_end_islands", self::END_BARRENS => "minecraft:end_barrens"]Biome names in index order.
SMALL_END_ISLANDS
php
public const SMALL_END_ISLANDS = 3THE_END
php
public const THE_END = 0Methods
__construct()
php
public function __construct(\pocketmine\world\generator\vanilla\density\DensityFunction $islands)fillChunk()
php
public function fillChunk(int $chunkX, int $chunkZ, int $quartsY) : arrayBiome per quart cell of a chunk, in TerrainChunk::$biomes layout.
getChunkBiome()
php
public function getChunkBiome(int $chunkX, int $chunkZ, int $blockY = 0) : intgetNoiseBiome()
php
public function getNoiseBiome(int $quartX, int $quartY, int $quartZ) : intBiome index (see NAMES) of a quart (4x4x4 cell) position.
