BetaBetaThe 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 be called in early-execution mode.
This function can throw errors.
CustomDimensionAlreadyRegisteredError
CustomDimensionInvalidRegistryError
CustomDimensionReloadNewDimensionError
minecraftcommon.EngineError
Provides the functionality for registering custom dimensions. Custom dimensions can only be registered during the system startup event.