Skip to content

API reference / @jsprismarine/errors / prismarine/world

prismarine/world ​

Classes ​

Variables ​

PrismarineWorldErrors ​

const PrismarineWorldErrors: Readonly<{ ActorIdsExhausted: typeof ActorIdsExhausted; AirNotRegistered: typeof AirNotRegistered; AmbiguousLevelName: typeof AmbiguousLevelName; BiomeIdOutOfRange: typeof BiomeIdOutOfRange; BiomeIndexOutOfPalette: typeof BiomeIndexOutOfPalette; BiomeSectionInheritsMissing: typeof BiomeSectionInheritsMissing; BlockOutOfPalette: typeof BlockOutOfPalette; BlockOutsideHeightRange: typeof BlockOutsideHeightRange; ChangeDuringRevert: typeof ChangeDuringRevert; ChunkLoadAfterClose: typeof ChunkLoadAfterClose; CompletionReplaced: typeof CompletionReplaced; ConfigDimensionsShareType: typeof ConfigDimensionsShareType; ConfigLevelCannotDetach: typeof ConfigLevelCannotDetach; CustomDimensionIdTooLow: typeof CustomDimensionIdTooLow; DimensionsShareType: typeof DimensionsShareType; DuplicateGeneratorFactory: typeof DuplicateGeneratorFactory; EmptySingleBlockStorage: typeof EmptySingleBlockStorage; EntryLevelCannotDetach: typeof EntryLevelCannotDetach; EntryWorldNotLoaded: typeof EntryWorldNotLoaded; GenerationStopped: typeof GenerationStopped; IncompleteAddedDimension: typeof IncompleteAddedDimension; InvalidActorDigest: typeof InvalidActorDigest; InvalidActorId: typeof InvalidActorId; InvalidActorMigration: typeof InvalidActorMigration; InvalidBiomePaletteCount: typeof InvalidBiomePaletteCount; InvalidBiomePaletteSize: typeof InvalidBiomePaletteSize; InvalidBiomePaletteWidth: typeof InvalidBiomePaletteWidth; InvalidLegacyWorldGenSettings: typeof InvalidLegacyWorldGenSettings; InvalidLevelName: typeof InvalidLevelName; InvalidMinecraftCatalogVersion: typeof InvalidMinecraftCatalogVersion; InvalidNewLevelName: typeof InvalidNewLevelName; InvalidReplaySnapshotEntry: typeof InvalidReplaySnapshotEntry; InvalidReplaySnapshotFiles: typeof InvalidReplaySnapshotFiles; InvalidReplaySnapshotJson: typeof InvalidReplaySnapshotJson; InvalidReplaySnapshotLevelDat: typeof InvalidReplaySnapshotLevelDat; InvalidReplaySnapshotPlayerData: typeof InvalidReplaySnapshotPlayerData; InvalidStorageId: typeof InvalidStorageId; InvalidSubchunkHeight: typeof InvalidSubchunkHeight; InvalidSubChunkPaletteSize: typeof InvalidSubChunkPaletteSize; InvalidSubChunkWidth: typeof InvalidSubChunkWidth; InvalidWorldConfig: typeof InvalidWorldConfig; JavaDataDowngrade: typeof JavaDataDowngrade; LegacyEntitySnapshotsAreInvalid: typeof LegacyEntitySnapshotsAreInvalid; LegacyEntitySnapshotsContainInvalidEntries: typeof LegacyEntitySnapshotsContainInvalidEntries; LegacyGameRulesAreInvalid: typeof LegacyGameRulesAreInvalid; LegacyGameRulesContainInvalidEntries: typeof LegacyGameRulesContainInvalidEntries; LegacySpawnPositionIsInvalid: typeof LegacySpawnPositionIsInvalid; LegacyWeatherIsInvalid: typeof LegacyWeatherIsInvalid; LegacyWorldDataMustBeObject: typeof LegacyWorldDataMustBeObject; LevelDatSizeMismatch: typeof LevelDatSizeMismatch; LevelDatTruncated: typeof LevelDatTruncated; LevelHasNoOverworld: typeof LevelHasNoOverworld; LevelNameTaken: typeof LevelNameTaken; LevelNotAttached: typeof LevelNotAttached; LevelNotOpened: typeof LevelNotOpened; LevelNotRegistered: typeof LevelNotRegistered; LevelWithoutOverworld: typeof LevelWithoutOverworld; LowestBiomeSectionInherits: typeof LowestBiomeSectionInherits; MissingBiomePaletteHeader: typeof MissingBiomePaletteHeader; NoOpenTick: typeof NoOpenTick; NoWorldInDimension: typeof NoWorldInDimension; PlayerDataPathEscapes: typeof PlayerDataPathEscapes; PlayerDataPathNotFolder: typeof PlayerDataPathNotFolder; PlayerDataSaveAfterClose: typeof PlayerDataSaveAfterClose; PositionWithoutWorld: typeof PositionWithoutWorld; ProviderCannotCaptureReplay: typeof ProviderCannotCaptureReplay; ReplayLevelMismatch: typeof ReplayLevelMismatch; RestoreIntoOpenWorld: typeof RestoreIntoOpenWorld; RevertClosedSpan: typeof RevertClosedSpan; RevertPastChunkEntry: typeof RevertPastChunkEntry; RuntimeIdStorageOnDisk: typeof RuntimeIdStorageOnDisk; SavedBiomeOutOfPalette: typeof SavedBiomeOutOfPalette; SavedBlockOutOfPalette: typeof SavedBlockOutOfPalette; SavePassCommitted: typeof SavePassCommitted; SealWithOpenSpans: typeof SealWithOpenSpans; SecondLayerInVersionOne: typeof SecondLayerInVersionOne; SpanClosedOutOfOrder: typeof SpanClosedOutOfOrder; SpawnNotFoundYet: typeof SpawnNotFoundYet; SubChunkBiomeCountMismatch: typeof SubChunkBiomeCountMismatch; SubChunkOutOfRange: typeof SubChunkOutOfRange; SubChunkPaletteFull: typeof SubChunkPaletteFull; TickIsStillOpen: typeof TickIsStillOpen; TickOutOfSequence: typeof TickOutOfSequence; TickSealed: typeof TickSealed; UncapturablePlayerDataEntry: typeof UncapturablePlayerDataEntry; UndoInUnloadedChunk: typeof UndoInUnloadedChunk; UnknownBlock: typeof UnknownBlock; UnknownBlockState: typeof UnknownBlockState; UnknownCatalogBlock: typeof UnknownCatalogBlock; UnknownConfigDimensionType: typeof UnknownConfigDimensionType; UnknownDimensionType: typeof UnknownDimensionType; UnknownGeneratedBlock: typeof UnknownGeneratedBlock; UnknownGeneratorKind: typeof UnknownGeneratorKind; UnknownLevelDimension: typeof UnknownLevelDimension; UnknownRuntimeId: typeof UnknownRuntimeId; UnknownSavedBlock: typeof UnknownSavedBlock; UnknownScoreboardParticipant: typeof UnknownScoreboardParticipant; UnknownWorldPreset: typeof UnknownWorldPreset; UnknownWorldProvider: typeof UnknownWorldProvider; UnmovableBlock: typeof UnmovableBlock; UnnamedPaletteEntry: typeof UnnamedPaletteEntry; UnresolvedDimensionType: typeof UnresolvedDimensionType; UnsavableRuntimeId: typeof UnsavableRuntimeId; UnsupportedBiomePaletteWidth: typeof UnsupportedBiomePaletteWidth; UnsupportedReplaySnapshot: typeof UnsupportedReplaySnapshot; UnsupportedSubChunkVersion: typeof UnsupportedSubChunkVersion; WorldAlreadyLoaded: typeof WorldAlreadyLoaded; WorldMessagesUnsettled: typeof WorldMessagesUnsettled; WorldStorageClosed: typeof WorldStorageClosed; }>

Defined in: packages/errors/src/prismarine/world.ts:4167

The errors the world code of @jsprismarine/prismarine throws.