FeatureBiomes 5.46.0
Java biome lookups during decoration (WorldGenRegion.getBiome -> BiomeManager): the fuzzy-zoomed biome of a block, from the biome cells stored in the 3x3 chunks of the decoration region. Chunks store Bedrock biome ids; they are mapped back to Java biomes, and the few Bedrock ids shared by several Java biomes (and cells outside the region, like vanilla's uncached noise biome) are resolved by sampling the climate.
Methods
__construct()
php
public function __construct(int $seed, int $minY, int $height, array $bedrockToJava, \Closure $sampleCell)begin()
php
public function begin(int $centerChunkX, int $centerChunkZ, array $chunks) : voidcell()
php
public function cell(int $qx, int $qy, int $qz) : intJava biome index of the cell at quart coordinates (y clamped to the world like ChunkAccess.getNoiseBiome()).
getBiome()
php
public function getBiome(int $x, int $y, int $z) : intBiomeManager.getBiome(): Java biome index at a block.
