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/DimensionTypes.md.

Class: DimensionTypes

dimension

Beta

用于访问所有可用的维度类型。目前仅适用于原版维度。

Used for accessing all available dimension types. Currently only works with Vanilla dimensions.

Methods

get()

static get(dimensionTypeId): DimensionType | undefined

Early Execution Beta

Parameters

dimensionTypeId

string

Returns

DimensionType | undefined

Remarks

使用基于字符串的标识符检索维度类型。目前仅适用于原版维度。

Retrieves a dimension type using a string-based identifier. Currently only works with Vanilla dimensions.


getAll()

static getAll(): DimensionType[]

Early Execution Beta

Returns

DimensionType[]

Remarks

检索所有维度类型的数组。目前仅适用于原版维度。

Retrieves an array of all dimension types. Currently only works with Vanilla dimensions.

同领域相关