Skip to content

API reference / @jsprismarine/errors / structures

structures ​

Classes ​

Variables ​

StructuresErrors ​

const StructuresErrors: Readonly<{ AppendLootNoLootTable: typeof AppendLootNoLootTable; BlockEntityModifierExpectedObject: typeof BlockEntityModifierExpectedObject; BlockEntityModifierUnknownType: typeof BlockEntityModifierUnknownType; BlockIgnoreNoBlocks: typeof BlockIgnoreNoBlocks; BoundMustBePositive: typeof BoundMustBePositive; ExpectedBlockState: typeof ExpectedBlockState; ExpectedIntProvider: typeof ExpectedIntProvider; ExpectedListOfTests: typeof ExpectedListOfTests; ExpectedThreeNumbers: typeof ExpectedThreeNumbers; JavaTemplateNoPalette: typeof JavaTemplateNoPalette; JavaTemplatePaletteEntryUnnamed: typeof JavaTemplatePaletteEntryUnnamed; JavaTemplateUnreadable: typeof JavaTemplateUnreadable; McstructureBlockCountMismatch: typeof McstructureBlockCountMismatch; McstructureBlockIndexNotNumeric: typeof McstructureBlockIndexNotNumeric; McstructureBlockLayerNotList: typeof McstructureBlockLayerNotList; McstructureNoBlockIndices: typeof McstructureNoBlockIndices; McstructureNoDefaultPalette: typeof McstructureNoDefaultPalette; McstructureNoStructureCompound: typeof McstructureNoStructureCompound; McstructurePaletteEntryHasNoName: typeof McstructurePaletteEntryHasNoName; McstructureUnreadable: typeof McstructureUnreadable; McstructureUnsupportedFormatVersion: typeof McstructureUnsupportedFormatVersion; PoolElementExpectedObject: typeof PoolElementExpectedObject; PoolElementUnknownElementType: typeof PoolElementUnknownElementType; PositionTestExpectedObject: typeof PositionTestExpectedObject; PositionTestUnknownPredicateType: typeof PositionTestUnknownPredicateType; ProcessorExpectedObject: typeof ProcessorExpectedObject; ProcessorListNoProcessors: typeof ProcessorListNoProcessors; ProcessorUnknownProcessorType: typeof ProcessorUnknownProcessorType; ProtectedBlocksNoValue: typeof ProtectedBlocksNoValue; RuleProcessorNoRules: typeof RuleProcessorNoRules; RuleProcessorRuleIsNotObject: typeof RuleProcessorRuleIsNotObject; RuleTestExpectedObject: typeof RuleTestExpectedObject; RuleTestUnknownPredicateType: typeof RuleTestUnknownPredicateType; StructurePlacementExpectedObject: typeof StructurePlacementExpectedObject; StructurePlacementUnknownType: typeof StructurePlacementUnknownType; StructureSetEntryNamesNoStructure: typeof StructureSetEntryNamesNoStructure; StructureSetExpectedObject: typeof StructureSetExpectedObject; StructureSetNoStructures: typeof StructureSetNoStructures; TagMatchNoTag: typeof TagMatchNoTag; TemplatePoolEntryIsNotObject: typeof TemplatePoolEntryIsNotObject; TemplatePoolNoElements: typeof TemplatePoolNoElements; UnknownJavaBlockState: typeof UnknownJavaBlockState; UnsupportedIntProvider: typeof UnsupportedIntProvider; }>

Defined in: packages/errors/src/structures.ts:1381

The errors @jsprismarine/structures throws.