Skip to content

API reference / @jsprismarine/errors / protocol/wire

protocol/wire ​

Variables ​

ProtocolWireErrors ​

const ProtocolWireErrors: Readonly<{ ActorFlagsTooLong: typeof ActorFlagsTooLong; AttributeLayerNeedsNetworkStream: typeof AttributeLayerNeedsNetworkStream; ConnectionRequestHasTrailingBytes: typeof ConnectionRequestHasTrailingBytes; DataItemTypeMismatch: typeof DataItemTypeMismatch; DurabilityCorrectionTooLarge: typeof DurabilityCorrectionTooLarge; InvalidEnumValueOffset: typeof InvalidEnumValueOffset; InvalidRecipeUuid: typeof InvalidRecipeUuid; InvalidUuidLength: typeof InvalidUuidLength; JavaBlockStateRowMalformed: typeof JavaBlockStateRowMalformed; JavaBossEventOperationUnknown: typeof JavaBossEventOperationUnknown; JavaByteArrayTooLong: typeof JavaByteArrayTooLong; JavaChatTypeInline: typeof JavaChatTypeInline; JavaContainerTooManySlots: typeof JavaContainerTooManySlots; JavaEntityDataSerializerUnread: typeof JavaEntityDataSerializerUnread; JavaFrameLengthOutOfRange: typeof JavaFrameLengthOutOfRange; JavaItemComponentUnread: typeof JavaItemComponentUnread; JavaNumberFormatUnread: typeof JavaNumberFormatUnread; JavaObjectiveMethodUnknown: typeof JavaObjectiveMethodUnknown; JavaPacketHasTrailingBytes: typeof JavaPacketHasTrailingBytes; JavaPacketNotInRelease: typeof JavaPacketNotInRelease; JavaPalettedContainerBits: typeof JavaPalettedContainerBits; JavaParticleHasOptions: typeof JavaParticleHasOptions; JavaRegistryEntryHasData: typeof JavaRegistryEntryHasData; JavaRegistryEntryUnknown: typeof JavaRegistryEntryUnknown; JavaStringTooLong: typeof JavaStringTooLong; JavaTextComponentNotString: typeof JavaTextComponentNotString; JavaVelocityNotAtRest: typeof JavaVelocityNotAtRest; MissingAttributeLayerData: typeof MissingAttributeLayerData; MissingPlayerListEntries: typeof MissingPlayerListEntries; MissingReleaseItemData: typeof MissingReleaseItemData; MissingSkin: typeof MissingSkin; MissingTransactionPayload: typeof MissingTransactionPayload; MissingUseItemData: typeof MissingUseItemData; MissingUseItemOnEntityData: typeof MissingUseItemOnEntityData; MissingUuid: typeof MissingUuid; NoLayoutAtProtocol: typeof NoLayoutAtProtocol; PlayerListEntryHasNoSkin: typeof PlayerListEntryHasNoSkin; PlayerLocationTypeMismatch: typeof PlayerLocationTypeMismatch; SoundDataTypeMismatch: typeof SoundDataTypeMismatch; TooManyBlockActions: typeof TooManyBlockActions; TooManyInputFlags: typeof TooManyInputFlags; TooManyItemStackActions: typeof TooManyItemStackActions; TooManyItemStackRequests: typeof TooManyItemStackRequests; TooManyItemUseActions: typeof TooManyItemUseActions; TooManyMapPixels: typeof TooManyMapPixels; TooManyTransactionActions: typeof TooManyTransactionActions; UndefinedSubChunkResultUnsupported: typeof UndefinedSubChunkResultUnsupported; UnknownActorLinkType: typeof UnknownActorLinkType; UnknownAttributeLayerDataType: typeof UnknownAttributeLayerDataType; UnknownBookEditAction: typeof UnknownBookEditAction; UnknownCommandBlockTargetAlternative: typeof UnknownCommandBlockTargetAlternative; UnknownDataItemType: typeof UnknownDataItemType; UnknownDataStoreEntryType: typeof UnknownDataStoreEntryType; UnknownDataStorePropertyType: typeof UnknownDataStorePropertyType; UnknownDataStoreUpdateType: typeof UnknownDataStoreUpdateType; UnknownEasingFunction: typeof UnknownEasingFunction; UnknownEntityOverrideUpdateType: typeof UnknownEntityOverrideUpdateType; UnknownGameRuleType: typeof UnknownGameRuleType; UnknownGameRuleValueAlternative: typeof UnknownGameRuleValueAlternative; UnknownItemDescriptorKind: typeof UnknownItemDescriptorKind; UnknownItemStackRequestActionType: typeof UnknownItemStackRequestActionType; UnknownMusicPlaybackState: typeof UnknownMusicPlaybackState; UnknownPackSettingValueAlternative: typeof UnknownPackSettingValueAlternative; UnknownPartyDestinationCookieIntent: typeof UnknownPartyDestinationCookieIntent; UnknownPlayerLocationAlternative: typeof UnknownPlayerLocationAlternative; UnknownRecipeIngredientDescriptor: typeof UnknownRecipeIngredientDescriptor; UnknownRecipeIngredientDescriptorVariant: typeof UnknownRecipeIngredientDescriptorVariant; UnknownResourcePackResponseAlternative: typeof UnknownResourcePackResponseAlternative; UnknownResourcePackStatus: typeof UnknownResourcePackStatus; UnknownScreenCloseReason: typeof UnknownScreenCloseReason; UnknownSetScoreAlternative: typeof UnknownSetScoreAlternative; UnknownSoftEnumUpdateType: typeof UnknownSoftEnumUpdateType; UnknownSoundDataUpdateAlternative: typeof UnknownSoundDataUpdateAlternative; UnknownSubChunkRequestResult: typeof UnknownSubChunkRequestResult; UnknownTelemetryEventDataAlternative: typeof UnknownTelemetryEventDataAlternative; UnknownTextBodyType: typeof UnknownTextBodyType; UnknownTransactionType: typeof UnknownTransactionType; UnknownWorldClockDataType: typeof UnknownWorldClockDataType; UseItemTransactionHasTrailingBytes: typeof UseItemTransactionHasTrailingBytes; }>

Defined in: packages/errors/src/protocol/wire.ts:3054

The errors the wire code of @jsprismarine/protocol throws.