实验性
Provides the functionality for registering custom dimensions. Custom dimensions can only be registered during the system startup event.
早期执行
The namespaced identifier for the custom dimension (e.g., 'mypack:my_dimension'). Must include a namespace and use only valid identifier characters.
Registers a new custom dimension type. Must be called during the system startup event. The dimension will be created using the void generator.
This function can throw errors.
CustomDimensionAlreadyRegisteredError
CustomDimensionInvalidRegistryError
CustomDimensionNameError
CustomDimensionReloadNewDimensionError
EngineError
NamespaceNameError
Provides the functionality for registering custom dimensions. Custom dimensions can only be registered during the system startup event.