Class: DimensionTypes
dimensionBeta
用于访问所有可用的维度类型。目前仅适用于原版维度。
Used for accessing all available dimension types. Currently only works with Vanilla dimensions.
Methods
get()
staticget(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()
staticgetAll():DimensionType[]
Early Execution Beta
Returns
Remarks
检索所有维度类型的数组。目前仅适用于原版维度。
Retrieves an array of all dimension types. Currently only works with Vanilla dimensions.
