Skip to main content

Class: BiomeTypes

Supports a catalog of available biome types registered within Minecraft.

Constructors

new BiomeTypes()

private new BiomeTypes(): BiomeTypes

Returns

BiomeTypes

Methods

get()

static get(typeName): BiomeType

Parameters

ParameterTypeDescription
typeNamestringIdentifier of the biome. Generally, namespaced identifiers
(e.g., minecraft:frozen_peaks) should be used.

Returns

BiomeType

If the biome exists, a BiomeType object is returned. If not, undefined is returned.

Remarks

Returns a specific biome type.


getAll()

static getAll(): BiomeType[]

Returns

BiomeType[]

Remarks

Returns all registered biome types within Minecraft