Skip to content

@minecraft/server


@minecraft/server / CustomDimensionReloadNewDimensionError

Class: CustomDimensionReloadNewDimensionError ​

Defined in: @minecraft/server/index.d.ts:25334

Thrown after using the /reload command when trying to register a custom dimension that was not previously registered. New custom dimensions cannot be added during a reload.

Extends ​

  • Error

Properties ​

cause? ​

optional cause?: unknown

Defined in: typescript/lib/lib.es2022.error.d.ts:24

Inherited from ​

Error.cause


message ​

message: string

Defined in: typescript/lib/lib.es5.d.ts:1075

Inherited from ​

Error.message


name ​

name: string

Defined in: typescript/lib/lib.es5.d.ts:1074

Inherited from ​

Error.name


stack? ​

optional stack?: string

Defined in: typescript/lib/lib.es5.d.ts:1076

Inherited from ​

Error.stack