Skip to content

API reference / @jsprismarine/worldgen / TheEndBiomeSource

Class: TheEndBiomeSource ​

Defined in: biome/BiomeSource.ts:194

The end's biome layout, which is four erosion thresholds around a central island rather than a climate lookup.

Everything within 64 chunks of the origin is the central island. Outside it the erosion function, sampled at the middle of the containing chunk, picks between the four outer biomes.

Implements ​

Constructors ​

Constructor ​

new TheEndBiomeSource(): TheEndBiomeSource

Returns ​

TheEndBiomeSource

Methods ​

possibleBiomes() ​

possibleBiomes(): readonly string[]

Defined in: biome/BiomeSource.ts:196

Every biome this source can produce, which the surface pass uses to prune rules.

Returns ​

readonly string[]

Implementation of ​

BiomeSource.possibleBiomes


resolver() ​

resolver(sampler): BiomeResolver

Defined in: biome/BiomeSource.ts:201

Binds the source to one world's climate functions.

Parameters ​

sampler ​

ClimateSampler

Returns ​

BiomeResolver

Implementation of ​

BiomeSource.resolver