Class: BiomeTypes
Supports a catalog of available biome types registered within Minecraft.
Constructors
new BiomeTypes()
private
new BiomeTypes():BiomeTypes
Returns
Methods
get()
static
get(typeName
):BiomeType
Parameters
Parameter | Type | Description |
---|---|---|
typeName | string | Identifier of the biome. Generally, namespaced identifiers (e.g., minecraft:frozen_peaks) should be used. |
Returns
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
Remarks
Returns all registered biome types within Minecraft