Skip to content

API reference / @jsprismarine/errors / worldgen

worldgen ​

Variables ​

WorldgenErrors ​

const WorldgenErrors: Readonly<{ AmplitudeModifierCountMismatch: typeof AmplitudeModifierCountMismatch; BiomesNotList: typeof BiomesNotList; BiomeTagNotResolved: typeof BiomeTagNotResolved; BiomeTagWithoutResolver: typeof BiomeTagWithoutResolver; BlendingHeightsWrongLength: typeof BlendingHeightsWrongLength; BoundMustBePositive: typeof BoundMustBePositive; ClimateEntryIsMissingAxis: typeof ClimateEntryIsMissingAxis; ClimateEntryValueUnknown: typeof ClimateEntryValueUnknown; ClimateMinAboveMax: typeof ClimateMinAboveMax; ClimateSearchFoundNoLeaf: typeof ClimateSearchFoundNoLeaf; ClimateSubtreeHasNoChild: typeof ClimateSubtreeHasNoChild; ClimateSubtreeLostLeaf: typeof ClimateSubtreeLostLeaf; ClimateTableIsMissingEntry: typeof ClimateTableIsMissingEntry; ClimateTreeLostChild: typeof ClimateTreeLostChild; ClimateTreeLostNode: typeof ClimateTreeLostNode; ClimateTreeNodeIsMissingAxis: typeof ClimateTreeNodeIsMissingAxis; ClimateTreeValueUnknown: typeof ClimateTreeValueUnknown; CoordinateScaleOutOfRange: typeof CoordinateScaleOutOfRange; DensityFunctionCycle: typeof DensityFunctionCycle; DimensionTooTall: typeof DimensionTooTall; DuplicatePresetDimension: typeof DuplicatePresetDimension; EmptyCheckerboardBiomeSource: typeof EmptyCheckerboardBiomeSource; EmptyClimateParameterList: typeof EmptyClimateParameterList; EmptyClimateTreeNode: typeof EmptyClimateTreeNode; EmptyIntervalSelect: typeof EmptyIntervalSelect; EmptySplinePoints: typeof EmptySplinePoints; EmptySurfaceSequence: typeof EmptySurfaceSequence; ExpectedArray: typeof ExpectedArray; ExpectedBiomeSource: typeof ExpectedBiomeSource; ExpectedBoolean: typeof ExpectedBoolean; ExpectedCaveSurface: typeof ExpectedCaveSurface; ExpectedClimateRange: typeof ExpectedClimateRange; ExpectedEntryObject: typeof ExpectedEntryObject; ExpectedFiniteNumber: typeof ExpectedFiniteNumber; ExpectedInteger: typeof ExpectedInteger; ExpectedInterval: typeof ExpectedInterval; ExpectedList: typeof ExpectedList; ExpectedObject: typeof ExpectedObject; ExpectedOne: typeof ExpectedOne; ExpectedRegistryIdentifier: typeof ExpectedRegistryIdentifier; ExpectedString: typeof ExpectedString; ExpectedThreeCoordinates: typeof ExpectedThreeCoordinates; ExpectedVerticalAnchor: typeof ExpectedVerticalAnchor; FlatGradient: typeof FlatGradient; HeightNotMultipleOf16: typeof HeightNotMultipleOf16; IntervalSelectNeedsTwoFunctions: typeof IntervalSelectNeedsTwoFunctions; InvalidAmplitudeModifiers: typeof InvalidAmplitudeModifiers; InvalidBaseOctave: typeof InvalidBaseOctave; InvalidBitCount: typeof InvalidBitCount; InvalidGaussianCacheState: typeof InvalidGaussianCacheState; InvalidIntervalBounds: typeof InvalidIntervalBounds; InvalidLegacyRandomSourceState: typeof InvalidLegacyRandomSourceState; InvalidNoiseNormalization: typeof InvalidNoiseNormalization; InvalidNoiseParameter: typeof InvalidNoiseParameter; InvalidOctaveCount: typeof InvalidOctaveCount; InvalidRawOreChance: typeof InvalidRawOreChance; InvalidRegistryIdentifier: typeof InvalidRegistryIdentifier; InvalidTemperature: typeof InvalidTemperature; InvalidTemperatureModifier: typeof InvalidTemperatureModifier; InvalidWidthSmoothness: typeof InvalidWidthSmoothness; InvalidXoroshiroRandomSourceState: typeof InvalidXoroshiroRandomSourceState; LegacyNoisePositiveOctave: typeof LegacyNoisePositiveOctave; MinAboveMax: typeof MinAboveMax; MinYNotMultipleOf16: typeof MinYNotMultipleOf16; MissingNoiseParameter: typeof MissingNoiseParameter; NoDensityFunctionIsRegistered: typeof NoDensityFunctionIsRegistered; NoiseHasNoAmplitudes: typeof NoiseHasNoAmplitudes; NoiseHeightNotMultipleOf16: typeof NoiseHeightNotMultipleOf16; NoiseMinYNotMultipleOf16: typeof NoiseMinYNotMultipleOf16; NoiseParametersNotObject: typeof NoiseParametersNotObject; NoMaterialConditionIsRegistered: typeof NoMaterialConditionIsRegistered; NoMaterialRuleIsRegistered: typeof NoMaterialRuleIsRegistered; NoNoiseIsRegistered: typeof NoNoiseIsRegistered; NoNoiseSettingsAreRegistered: typeof NoNoiseSettingsAreRegistered; NonPositiveUpscaleCell: typeof NonPositiveUpscaleCell; NumberOutOfRange: typeof NumberOutOfRange; PositiveFirstOctave: typeof PositiveFirstOctave; SharedArrayBufferUnavailable: typeof SharedArrayBufferUnavailable; SharedClimateTableHasBadMagic: typeof SharedClimateTableHasBadMagic; SharedClimateTableHasEmptyDimensions: typeof SharedClimateTableHasEmptyDimensions; SharedClimateTableHasInconsistentLengths: typeof SharedClimateTableHasInconsistentLengths; SharedClimateTableHasNoValue: typeof SharedClimateTableHasNoValue; SharedClimateTableInvalidValues: typeof SharedClimateTableInvalidValues; SharedClimateTableIsShorter: typeof SharedClimateTableIsShorter; SharedClimateTableValueCount: typeof SharedClimateTableValueCount; SharedClimateTableVersionIsUnsupported: typeof SharedClimateTableVersionIsUnsupported; SkippedCellMismatch: typeof SkippedCellMismatch; SkippedCellWasSolid: typeof SkippedCellWasSolid; SplineHasNoPoints: typeof SplineHasNoPoints; SplinePointsOutOfOrder: typeof SplinePointsOutOfOrder; SurfaceColumnWrongHeight: typeof SurfaceColumnWrongHeight; SurfaceRuleCycle: typeof SurfaceRuleCycle; ThresholdCountMismatch: typeof ThresholdCountMismatch; ThresholdsNotList: typeof ThresholdsNotList; ThresholdsOutOfOrder: typeof ThresholdsOutOfOrder; TypeNotString: typeof TypeNotString; UncompilableDensityFunction: typeof UncompilableDensityFunction; UnevenUpscaleCells: typeof UnevenUpscaleCells; UnknownBiomeParameterPreset: typeof UnknownBiomeParameterPreset; UnknownBiomeSourceType: typeof UnknownBiomeSourceType; UnknownCarverType: typeof UnknownCarverType; UnknownDensityFunctionType: typeof UnknownDensityFunctionType; UnknownFloatProviderType: typeof UnknownFloatProviderType; UnknownHeightProviderType: typeof UnknownHeightProviderType; UnknownIntProviderType: typeof UnknownIntProviderType; UnknownMaterialConditionType: typeof UnknownMaterialConditionType; UnknownMaterialRuleType: typeof UnknownMaterialRuleType; UnknownUnaryDensityFunction: typeof UnknownUnaryDensityFunction; UnsupportedUpscaleMode: typeof UnsupportedUpscaleMode; WorldPresetHasNoOverworld: typeof WorldPresetHasNoOverworld; }>

Defined in: packages/errors/src/worldgen.ts:3816

The errors @jsprismarine/worldgen throws.