[API reference](https://jsprismarine.dev/api/index.md) / [@jsprismarine/errors](https://jsprismarine.dev/api/@jsprismarine/errors/index.md) / prismarine/generation

# prismarine/generation

## Classes

- [RegistryBundleFormatError](https://jsprismarine.dev/api/@jsprismarine/errors/prismarine/generation/classes/RegistryBundleFormatError.md)

## Variables

### PrismarineGenerationErrors

> `const` **PrismarineGenerationErrors**: `Readonly`\<\{ `BiomeCellCountMismatch`: *typeof* `BiomeCellCountMismatch`; `BiomeCellOutOfPalette`: *typeof* `BiomeCellOutOfPalette`; `BiomeSectionOffsetsMismatch`: *typeof* `BiomeSectionOffsetsMismatch`; `DebugGridOutOfRange`: *typeof* `DebugGridOutOfRange`; `DimensionNotLoadedOnThread`: *typeof* `DimensionNotLoadedOnThread`; `DiskCacheNeedsTemplateFingerprint`: *typeof* `DiskCacheNeedsTemplateFingerprint`; `DiskCacheWithCustomPipeline`: *typeof* `DiskCacheWithCustomPipeline`; `DiskCacheWithCustomStructures`: *typeof* `DiskCacheWithCustomStructures`; `DiskCacheWithoutRegistryFingerprint`: *typeof* `DiskCacheWithoutRegistryFingerprint`; `DuplicateFeatureTiles`: *typeof* `DuplicateFeatureTiles`; `DuplicatePieceCodec`: *typeof* `DuplicatePieceCodec`; `DuplicatePostPlacementStep`: *typeof* `DuplicatePostPlacementStep`; `DuplicateTemplateMarker`: *typeof* `DuplicateTemplateMarker`; `EndCityMarkerWithoutRotation`: *typeof* `EndCityMarkerWithoutRotation`; `FeatureTaskTileCountMismatch`: *typeof* `FeatureTaskTileCountMismatch`; `FeatureTileOutOfWindow`: *typeof* `FeatureTileOutOfWindow`; `FeatureViewTileCountMismatch`: *typeof* `FeatureViewTileCountMismatch`; `FingerprintWithoutSharedCache`: *typeof* `FingerprintWithoutSharedCache`; `IglooMarkerWithoutPosition`: *typeof* `IglooMarkerWithoutPosition`; `IncompleteChunkTask`: *typeof* `IncompleteChunkTask`; `IncompleteFeatureTask`: *typeof* `IncompleteFeatureTask`; `IncompleteStructureStartTask`: *typeof* `IncompleteStructureStartTask`; `IncompleteTerrainTask`: *typeof* `IncompleteTerrainTask`; `InvalidBiomeSectionSize`: *typeof* `InvalidBiomeSectionSize`; `InvalidBlockPassResult`: *typeof* `InvalidBlockPassResult`; `InvalidFeaturePatchList`: *typeof* `InvalidFeaturePatchList`; `InvalidFeatureTile`: *typeof* `InvalidFeatureTile`; `InvalidHorizontalDirection`: *typeof* `InvalidHorizontalDirection`; `InvalidMergeResult`: *typeof* `InvalidMergeResult`; `InvalidSharedCacheLimits`: *typeof* `InvalidSharedCacheLimits`; `InvalidSharedTile`: *typeof* `InvalidSharedTile`; `InvalidSharedTileKey`: *typeof* `InvalidSharedTileKey`; `InvalidSharedTileOwner`: *typeof* `InvalidSharedTileOwner`; `InvalidStructureStartList`: *typeof* `InvalidStructureStartList`; `InvalidTemplatePiece`: *typeof* `InvalidTemplatePiece`; `InvalidTerrainCacheLimit`: *typeof* `InvalidTerrainCacheLimit`; `InvalidTerrainStatsBuffer`: *typeof* `InvalidTerrainStatsBuffer`; `MansionMarkerWithoutRotation`: *typeof* `MansionMarkerWithoutRotation`; `MissingCellBiome`: *typeof* `MissingCellBiome`; `MissingFeatureTile`: *typeof* `MissingFeatureTile`; `MissingFlatSettings`: *typeof* `MissingFlatSettings`; `MissingGenerationState`: *typeof* `MissingGenerationState`; `MissingJavaWorldgenData`: *typeof* `MissingJavaWorldgenData`; `MissingMergeInputs`: *typeof* `MissingMergeInputs`; `MissingNoiseSettings`: *typeof* `MissingNoiseSettings`; `MissingSectionBiomes`: *typeof* `MissingSectionBiomes`; `NoInnerServerJar`: *typeof* `NoInnerServerJar`; `NonFiniteCacheInput`: *typeof* `NonFiniteCacheInput`; `NonPlainCacheInput`: *typeof* `NonPlainCacheInput`; `NonStringCacheKey`: *typeof* `NonStringCacheKey`; `NoTransferCodec`: *typeof* `NoTransferCodec`; `OceanRuinMarkerWithoutSize`: *typeof* `OceanRuinMarkerWithoutSize`; `OreVeinDensityReference`: *typeof* `OreVeinDensityReference`; `PackedWriteCountMismatch`: *typeof* `PackedWriteCountMismatch`; `PackedWriteOutOfPalette`: *typeof* `PackedWriteOutOfPalette`; `PackedWriteOutsideChunk`: *typeof* `PackedWriteOutsideChunk`; `PartialBiomeSections`: *typeof* `PartialBiomeSections`; `PiecePlanWithoutFields`: *typeof* `PiecePlanWithoutFields`; `RegionHeightMismatch`: *typeof* `RegionHeightMismatch`; `RegionPaletteFull`: *typeof* `RegionPaletteFull`; `RegistryBundleBadMagic`: *typeof* `RegistryBundleBadMagic`; `RegistryBundleDocumentTruncated`: *typeof* `RegistryBundleDocumentTruncated`; `RegistryBundleIndexTruncated`: *typeof* `RegistryBundleIndexTruncated`; `RegistryBundleTooShort`: *typeof* `RegistryBundleTooShort`; `RegistryBundleVersionMismatch`: *typeof* `RegistryBundleVersionMismatch`; `SharedCacheNeedsTemplateFingerprint`: *typeof* `SharedCacheNeedsTemplateFingerprint`; `SharedCacheTooSmall`: *typeof* `SharedCacheTooSmall`; `SharedCacheUnsupportedHeader`: *typeof* `SharedCacheUnsupportedHeader`; `SharedCacheWithCustomPipeline`: *typeof* `SharedCacheWithCustomPipeline`; `SharedCacheWithCustomStructures`: *typeof* `SharedCacheWithCustomStructures`; `SharedCacheWithoutRegistryFingerprint`: *typeof* `SharedCacheWithoutRegistryFingerprint`; `SharedCacheWithoutTemplateFingerprint`: *typeof* `SharedCacheWithoutTemplateFingerprint`; `SharedCacheWithoutWholeChunkPool`: *typeof* `SharedCacheWithoutWholeChunkPool`; `SharedCacheWrongSize`: *typeof* `SharedCacheWrongSize`; `StructureStartMismatch`: *typeof* `StructureStartMismatch`; `StructureStartOmitted`: *typeof* `StructureStartOmitted`; `StructureStartRequestLost`: *typeof* `StructureStartRequestLost`; `TerrainCacheWithoutFingerprints`: *typeof* `TerrainCacheWithoutFingerprints`; `TerrainNamesIntoUsedRegion`: *typeof* `TerrainNamesIntoUsedRegion`; `TerrainWorkerWithoutRegistryBundle`: *typeof* `TerrainWorkerWithoutRegistryBundle`; `UncacheableInput`: *typeof* `UncacheableInput`; `UnknownFlatPreset`: *typeof* `UnknownFlatPreset`; `UnknownNoiseSettings`: *typeof* `UnknownNoiseSettings`; `UnknownPostPlacementStep`: *typeof* `UnknownPostPlacementStep`; `UnknownStructureSet`: *typeof* `UnknownStructureSet`; `UnknownTemplateMarker`: *typeof* `UnknownTemplateMarker`; `UnsupportedChunkStatus`: *typeof* `UnsupportedChunkStatus`; `UnsupportedWorkerStatus`: *typeof* `UnsupportedWorkerStatus`; `UntransferableTemplateCallback`: *typeof* `UntransferableTemplateCallback`; `UntranslatedMergeBlock`: *typeof* `UntranslatedMergeBlock`; `WorkerWithoutRegistryBundle`: *typeof* `WorkerWithoutRegistryBundle`; \}\>

Defined in: [packages/errors/src/prismarine/generation.ts:3437](https://github.com/JSPrismarine/JSPrismarine/blob/9db8dc5e83d04708d63ff9d73cae14f6c6b880f6/packages/errors/src/prismarine/generation.ts#L3437)

The errors the generation code of `@jsprismarine/prismarine` throws.
