For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/BiomeTypes.md.

Class: BiomeTypes

biome

Beta

支持 Minecraft 中注册的可用生物群系类型目录。

Supports a catalog of available biome types registered within Minecraft.

Methods

get()

static get(typeName): BiomeType | undefined

Beta

Parameters

typeName

string

生物群系的标识符。通常应使用命名空间标识符(例如 minecraft:frozen_peaks)。

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

Returns

BiomeType | undefined

如果生物群系存在,则返回 BiomeType 对象。如果不存在,则返回 undefined。

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

Remarks

返回特定的生物群系类型。

Returns a specific biome type.


getAll()

static getAll(): BiomeType[]

Beta

Returns

BiomeType[]

Remarks

返回 Minecraft 中所有注册的生物群系类型。

Returns all registered biome types within Minecraft

同领域相关