@serenityjs/protocol 0.8.16-beta-20251207115105 → 0.8.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # @serenityjs/protocol
2
2
 
3
- ## 0.8.16-beta-20251207115105
3
+ ## 0.8.16
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - [`389f5d8`](https://github.com/SerenityJS/serenity/commit/389f5d8dc44c2f11d6bd54db92c37c67b86d6418) Thanks [@PMK744](https://github.com/PMK744)! - init 0.8.16-beta
8
8
 
9
9
  - Updated dependencies [[`389f5d8`](https://github.com/SerenityJS/serenity/commit/389f5d8dc44c2f11d6bd54db92c37c67b86d6418)]:
10
- - @serenityjs/nbt@0.8.16-beta-20251207115105
11
- - @serenityjs/raknet@0.8.16-beta-20251207115105
10
+ - @serenityjs/nbt@0.8.16
11
+ - @serenityjs/raknet@0.8.16
12
12
 
13
13
  ## 0.8.15
14
14
 
package/dist/index.d.mts CHANGED
@@ -474,15 +474,24 @@ declare enum AgentAnimationId {
474
474
  Shrug = 1
475
475
  }
476
476
 
477
- declare enum AnimateId {
478
- None = 0,
477
+ declare enum AnimateType {
478
+ NoAction = 0,
479
479
  SwingArm = 1,
480
- Unknown = 2,
481
- WakeUp = 3,
482
- CriticalHit = 4,
483
- MagicCriticalHit = 5,
484
- RowRight = 128,
485
- RowLeft = 129
480
+ WakeUp = 2,
481
+ CriticalHit = 3,
482
+ MagicCriticalHit = 4
483
+ }
484
+
485
+ declare enum AnimateSwingSourceType {
486
+ None = "None",
487
+ Build = "Build",
488
+ Mine = "Mine",
489
+ Interact = "Interact",
490
+ Attack = "Attack",
491
+ UseItem = "UseItem",
492
+ ThrowItem = "ThrowItem",
493
+ DropItem = "DropItem",
494
+ Event = "Event"
486
495
  }
487
496
 
488
497
  declare enum AttributeName {
@@ -593,12 +602,12 @@ declare enum CommandParameterType {
593
602
  }
594
603
 
595
604
  declare enum CommandPermissionLevel {
596
- Normal = 0,
597
- Operator = 1,
598
- Automation = 2,
599
- Host = 3,
600
- Owner = 4,
601
- Internal = 5
605
+ Any = "Any",
606
+ GameDirectors = "GameDirectors",
607
+ Admin = "Admin",
608
+ Host = "Host",
609
+ Owner = "Owner",
610
+ Internal = "Internal"
602
611
  }
603
612
 
604
613
  declare enum ComplexInventoryTransaction {
@@ -2628,7 +2637,7 @@ declare enum TelemetryEventType {
2628
2637
  ItemUsed = 31
2629
2638
  }
2630
2639
 
2631
- declare enum TextPacketType {
2640
+ declare enum TextType {
2632
2641
  Raw = 0,
2633
2642
  Chat = 1,
2634
2643
  Translation = 2,
@@ -2804,6 +2813,19 @@ declare enum CodeBuilderCodeStatus {
2804
2813
  Succeded = 5
2805
2814
  }
2806
2815
 
2816
+ declare enum CommandOriginType {
2817
+ Player = "Player",
2818
+ DevConsole = "DevConsole",
2819
+ Test = "Test",
2820
+ AutomationPlayer = "AutomationPlayer"
2821
+ }
2822
+
2823
+ declare enum TextVariantType {
2824
+ MessageOnly = 0,
2825
+ AuthorAndMessage = 1,
2826
+ MessageAndParams = 2
2827
+ }
2828
+
2807
2829
  /**
2808
2830
  * Represents a Minecraft Bedrock Edition data packet
2809
2831
  */
@@ -2899,11 +2921,6 @@ declare class ActorLinkSet extends DataType {
2899
2921
  static write(stream: BinaryStream, value: Array<ActorLink>): void;
2900
2922
  }
2901
2923
 
2902
- declare class AnimateAction extends DataType {
2903
- static read(stream: BinaryStream, options?: PacketDataTypeOptions): number | null;
2904
- static write(stream: BinaryStream, value: number | null): void;
2905
- }
2906
-
2907
2924
  declare class AnimateEntity extends DataType {
2908
2925
  static read(stream: BinaryStream): Array<bigint>;
2909
2926
  static write(stream: BinaryStream, value: Array<bigint>): void;
@@ -3914,26 +3931,31 @@ declare class CommandBlockSettings extends DataType {
3914
3931
  static write(stream: BinaryStream, value: CommandBlockSettings, options?: PacketDataTypeOptions<boolean>): void;
3915
3932
  }
3916
3933
 
3917
- declare enum CommandOriginDataTypes {
3918
- ORIGIN_PLAYER = 0,
3919
- ORIGIN_BLOCK = 1,
3920
- ORIGIN_MINECART_BLOCK = 2,
3921
- ORIGIN_DEV_CONSOLE = 3,
3922
- ORIGIN_TEST = 4,
3923
- ORIGIN_AUTOMATION_PLAYER = 5,
3924
- ORIGIN_CLIENT_AUTOMATION = 6,
3925
- ORIGIN_DEDICATED_SERVER = 7,
3926
- ORIGIN_ENTITY = 8,
3927
- ORIGIN_VIRTUAL = 9,
3928
- ORIGIN_GAME_ARGUMENT = 10,
3929
- ORIGIN_ENTITY_SERVER = 11
3930
- }
3931
3934
  declare class CommandOriginData extends DataType {
3932
- origin: CommandOriginDataTypes;
3935
+ /**
3936
+ * The type of the command origin.
3937
+ */
3938
+ type: CommandOriginType;
3939
+ /**
3940
+ * The uuid of the command origin.
3941
+ */
3933
3942
  uuid: string;
3943
+ /**
3944
+ * The request ID of the command origin.
3945
+ */
3934
3946
  requestId: string;
3947
+ /**
3948
+ * The unique ID of the player actor.
3949
+ */
3935
3950
  playerActorUniqueId: bigint;
3936
- constructor(origin: CommandOriginDataTypes, uuid: string, requestId: string, playerActorUniqueId: bigint);
3951
+ /**
3952
+ * Creates a new command origin data.
3953
+ * @param type The type of the command origin.
3954
+ * @param uuid The uuid of the command origin.
3955
+ * @param requestId The request ID of the command origin.
3956
+ * @param playerActorUniqueId The unique ID of the player actor.
3957
+ */
3958
+ constructor(type: CommandOriginType, uuid: string, requestId: string, playerActorUniqueId: bigint);
3937
3959
  static read(stream: BinaryStream): CommandOriginData;
3938
3960
  static write(stream: BinaryStream, value: CommandOriginData): void;
3939
3961
  }
@@ -3993,7 +4015,7 @@ declare class Commands extends DataType {
3993
4015
  /**
3994
4016
  * The permission level of the command.
3995
4017
  */
3996
- readonly permissionLevel: number;
4018
+ readonly permissionLevel: CommandPermissionLevel;
3997
4019
  /**
3998
4020
  * The alias of the command.
3999
4021
  */
@@ -4006,7 +4028,7 @@ declare class Commands extends DataType {
4006
4028
  * The overloads of the command.
4007
4029
  */
4008
4030
  readonly overloads: Array<CommandsOverload>;
4009
- constructor(name: string, description: string, flags: number, permissionLevel: number, alias: number, subcommands: Array<number>, overloads: Array<CommandsOverload>);
4031
+ constructor(name: string, description: string, flags: number, permissionLevel: CommandPermissionLevel, alias: number, subcommands: Array<number>, overloads: Array<CommandsOverload>);
4010
4032
  static read(stream: BinaryStream): Array<Commands>;
4011
4033
  static write(stream: BinaryStream, value: Array<Commands>): void;
4012
4034
  }
@@ -4709,8 +4731,8 @@ declare class Enums extends DataType {
4709
4731
  * @param values The indexed values of the enum.
4710
4732
  */
4711
4733
  constructor(name: string, values: Array<number>);
4712
- static read(stream: BinaryStream, options?: PacketDataTypeOptions<Array<string>>): Array<Enums>;
4713
- static write(stream: BinaryStream, value: Array<Enums>, options?: PacketDataTypeOptions<Array<string>>): void;
4734
+ static read(stream: BinaryStream): Array<Enums>;
4735
+ static write(stream: BinaryStream, value: Array<Enums>): void;
4714
4736
  }
4715
4737
 
4716
4738
  declare class Experiments extends DataType {
@@ -4988,11 +5010,6 @@ declare class InputTransaction extends DataType {
4988
5010
  static read(stream: BinaryStream): InputTransaction;
4989
5011
  }
4990
5012
 
4991
- declare class InteractPosition extends DataType {
4992
- static read(stream: BinaryStream, options?: PacketDataTypeOptions<InteractAction>): Vector3f | null;
4993
- static write(stream: BinaryStream, value: Vector3f, options?: PacketDataTypeOptions<InteractAction>): void;
4994
- }
4995
-
4996
5013
  /**
4997
5014
  * Represents an item use on entity inventory transaction.
4998
5015
  */
@@ -6584,14 +6601,28 @@ declare class TeleportCause extends DataType {
6584
6601
  static write(stream: BinaryStream, value: TeleportCause, options: PacketDataTypeOptions<MoveMode>): void;
6585
6602
  }
6586
6603
 
6587
- declare class TextParameters extends DataType {
6588
- static read(stream: BinaryStream, options: PacketDataTypeOptions<TextPacketType>): Array<string> | null;
6589
- static write(stream: BinaryStream, value: Array<string>, options: PacketDataTypeOptions<TextPacketType>): void;
6590
- }
6591
-
6592
- declare class TextSource extends DataType {
6593
- static read(stream: BinaryStream, options: PacketDataTypeOptions<TextPacketType>): string | null;
6594
- static write(stream: BinaryStream, value: string, options: PacketDataTypeOptions<TextPacketType>): void;
6604
+ declare class TextVariant extends DataType {
6605
+ /**
6606
+ * The message of the text variant.
6607
+ */
6608
+ message: string;
6609
+ /**
6610
+ * The type of the text variant.
6611
+ */
6612
+ type: TextType;
6613
+ /**
6614
+ * The source of the text variant.
6615
+ * If packet `variant` is `TextVariantType.AuthorAndMessage` otherwise null.
6616
+ */
6617
+ source: string | null;
6618
+ /**
6619
+ * The parameters of the text variant.
6620
+ * If packet `variant` is `TextVariantType.MessageAndParams` otherwise null.
6621
+ */
6622
+ parameters: Array<string> | null;
6623
+ constructor(message: string, type: TextType, source?: string | null, parameters?: Array<string> | null);
6624
+ static read(stream: BinaryStream, options: PacketDataTypeOptions<TextVariantType>): TextVariant;
6625
+ static write(stream: BinaryStream, value: TextVariant, options: PacketDataTypeOptions<TextVariantType>): void;
6595
6626
  }
6596
6627
 
6597
6628
  declare class MapTextureUpdateBits extends DataType {
@@ -6799,10 +6830,22 @@ declare class AddPlayerPacket extends DataPacket {
6799
6830
  }
6800
6831
 
6801
6832
  declare class AnimatePacket extends DataPacket {
6802
- id: AnimateId;
6803
- runtimeEntityId: bigint;
6833
+ /**
6834
+ * The type of the animation.
6835
+ */
6836
+ type: AnimateType;
6837
+ /**
6838
+ * The runtime ID of the entity.
6839
+ */
6840
+ actorRuntimeId: bigint;
6841
+ /**
6842
+ * The data of the animation.
6843
+ */
6804
6844
  data: number;
6805
- boatRowingTime: number | null;
6845
+ /**
6846
+ * The swing source type of the animation.
6847
+ */
6848
+ swingSourceType: AnimateSwingSourceType | null;
6806
6849
  }
6807
6850
 
6808
6851
  declare class AnimateEntityPacket extends DataPacket {
@@ -6987,7 +7030,7 @@ declare class CommandRequestPacket extends DataPacket {
6987
7030
  command: string;
6988
7031
  origin: CommandOriginData;
6989
7032
  isInternal: boolean;
6990
- version: number;
7033
+ version: string;
6991
7034
  }
6992
7035
 
6993
7036
  declare class CompletedUsingItemPacket extends DataPacket {
@@ -7113,9 +7156,18 @@ declare class HurtArmorPacket extends DataPacket {
7113
7156
  }
7114
7157
 
7115
7158
  declare class InteractPacket extends DataPacket {
7159
+ /**
7160
+ * The action of the interaction.
7161
+ */
7116
7162
  action: InteractAction;
7163
+ /**
7164
+ * The runtime ID of the actor being interacted with.
7165
+ */
7117
7166
  actorRuntimeId: bigint;
7118
- position: Vector3f;
7167
+ /**
7168
+ * The position of the interaction (optional).
7169
+ */
7170
+ position: Vector3f | null;
7119
7171
  }
7120
7172
 
7121
7173
  declare class InventoryContentPacket extends DataPacket {
@@ -7230,6 +7282,7 @@ declare class MobEffectPacket extends DataPacket {
7230
7282
  particles: boolean;
7231
7283
  duration: number;
7232
7284
  inputTick: bigint;
7285
+ isAmbient: boolean;
7233
7286
  }
7234
7287
 
7235
7288
  declare class MobEquipmentPacket extends DataPacket {
@@ -7531,7 +7584,6 @@ declare class ResourcePackDataInfoPacket extends DataPacket {
7531
7584
 
7532
7585
  declare class ResourcePackStackPacket extends DataPacket {
7533
7586
  mustAccept: boolean;
7534
- behaviorPacks: Array<ResourceIdVersions>;
7535
7587
  texturePacks: Array<ResourceIdVersions>;
7536
7588
  gameVersion: string;
7537
7589
  experiments: Array<Experiments>;
@@ -7850,7 +7902,6 @@ declare class StartGamePacket extends DataPacket {
7850
7902
  worldTemplateId: string;
7851
7903
  clientSideGeneration: boolean;
7852
7904
  blockNetworkIdsAreHashes: boolean;
7853
- tickDeathSystems: boolean;
7854
7905
  serverControlledSounds: boolean;
7855
7906
  }
7856
7907
 
@@ -7890,14 +7941,12 @@ declare class TakeItemActorPacket extends DataPacket {
7890
7941
  }
7891
7942
 
7892
7943
  declare class TextPacket extends DataPacket {
7893
- type: TextPacketType;
7894
- needsTranslation: boolean;
7895
- source: string | null;
7896
- message: string;
7897
- parameters: Array<string> | null;
7944
+ isLocalized: boolean;
7945
+ variantType: TextVariantType;
7946
+ variant: TextVariant;
7898
7947
  xuid: string;
7899
7948
  platformChatId: string;
7900
- filtered: string;
7949
+ filtered: string | null;
7901
7950
  }
7902
7951
 
7903
7952
  declare class ToastRequestPacket extends DataPacket {
@@ -8314,12 +8363,12 @@ declare const DefaultAbilityValues: {
8314
8363
  20: boolean;
8315
8364
  };
8316
8365
 
8317
- declare const PROTOCOL_VERSION = 860;
8366
+ declare const PROTOCOL_VERSION = 898;
8318
8367
  declare const COMPATIBLE_PROTOCOL_VERSIONS: Set<number>;
8319
8368
  declare const MINECRAFT_SEM_VERSION: [number, number, number];
8320
8369
  declare const MINECRAFT_VERSION: string;
8321
8370
  declare const MINECRAFT_TICK_SPEED = 50;
8322
8371
  declare const BLOCK_STATE_VERSION: number;
8323
- declare const SHIELD_NETWORK_ID = 380;
8372
+ declare const SHIELD_NETWORK_ID = 387;
8324
8373
 
8325
- export { AbilityIndex, AbilityLayer, AbilityLayerType, AbilitySet, AbilitySetId, ActorDamageCause, ActorDataId, ActorDataType, ActorEvent, ActorEventPacket, ActorFlag, ActorLink, ActorLinkSet, ActorLinkType, AddBehaviorTreePacket, AddEntityPacket, AddItemActorPacket, AddPaintingPacket, AddPlayerPacket, AgentActionEventPacket, AgentActionType, AgentAnimationId, AgentAnimationPacket, AimAssistMode, AnimateAction, AnimateEntity, AnimateEntityPacket, AnimateId, AnimatePacket, Attribute, AttributeModifier, AttributeName, AutomationClientConnectPacket, AvailableActorIdentifiersPacket, AvailableCommandsPacket, AwardAchievementPacket, BLOCK_STATE_VERSION, BehaviorPackInfo, BiomeDefinitionData, BiomeDefinitionList, BiomeDefinitionListPacket, BiomeStringList, BlockAction, BlockActorDataPacket, BlockEventPacket, BlockEventType, BlockFace, BlockPickRequestPacket, BlockPosition, BlockUpdate, BookActions, BookEditAction, BookEditPacket, BossEventAdd, BossEventColor, BossEventPacket, BossEventUpdate, BossEventUpdateType, ByteArray, COMPATIBLE_PROTOCOL_VERSIONS, CameraAudioListener, CameraControlScheme, CameraFOVInstruction, CameraFadeDuration, CameraFadeInstruction, CameraInstructions, CameraInstructionsPacket, CameraPreset, CameraPresetAimAssistDefinition, CameraPresetsPacket, CameraSetEasing, CameraSetInstruction, CameraShakePacket, CameraTargetInstruction, ChainedSubcommandValues, ChangeDimensionPacket, ChangeMobPropertyPacket, ChunkCoords, ChunkRadiusUpdatePacket, ClientBoundDebugRendererPacket, ClientBoundMapItemDataPacket, ClientCacheStatusPacket, type ClientData, ClientInputLocksFlag, ClientPredictedVehicle, ClientToServerHandshakePacket, ClientboundCloseFormPacket, CodeBuilderCategory, CodeBuilderCodeStatus, CodeBuilderOperation, CodeBuilderSourcePacket, Color, CommandBlockActorRuntimeId, CommandBlockMode, CommandBlockSettings, CommandBlockUpdatePacket, CommandOriginData, CommandOutputData, CommandOutputMessage, CommandOutputPacket, CommandParameterType, CommandPermissionLevel, CommandRequestPacket, Commands, CompletedUsingItemPacket, ComplexInventoryTransaction, CompressionMethod, ContainerClosePacket, ContainerDataType, ContainerId, ContainerMixDataEntry, ContainerName, ContainerOpenPacket, ContainerSetDataPacket, ContainerType, CorrectPlayerMovePredictionPacket, CraftingDataEntry, CraftingDataEntryType, CraftingDataPacket, CreatePhotoPacket, CreativeContentPacket, CreativeGroup, CreativeItem, CreativeItemCategory, CreativeItemGroup, CurrectStructureFeaturePacket, DataItem, DataPacket, DeathInfoPacket, DeathParameters, DebugInfoPacket, DebuggerProtocolVersion, DefaultAbilityValues, DeviceOS, Difficulty, DimensionDataPacket, DimensionDefinition, DimensionDefinitionGroup, DimensionType, DisconnectMessage, DisconnectPacket, DisconnectReason, DisplaySlotType, DynamicEnums, EasingType, EditorNetworkPacket, EduUriResourcePacket, EffectType, EmoteFlags, EmoteListPacket, EmotePacket, Emotes, EnchantOption, Enchantment, EntityAttributes, EntityPickRequestPacket, EntityPropertyType, EnumConstraints, EnumValues, Enums, EquipmentSlot, Experiments, FeatureDataList, type FeatureDataListEntry, FeatureRegistryPacket, Fogs, Framer, FullContainerName, FurnanceRecipe, GameRule, GameRuleType, GameRules, GameRulesChangedPacket, GameTestRequestPacket, GameTestResponsePacket, GameTestRotationType, Gamemode, GeneratorType, GraphicsMode, GraphicsOverrideParameterPacket, GraphicsOverrideParameterPayload, GraphicsOverrideParameterType, GuiDataPickItemPacket, HeightMapDataType, HudElement, HudElementData, HudVisibility, HurtArmorPacket, type IPosition, type IdentityData, InputData, InputLockFlags, InputMode, InputTransaction, InteractAction, InteractPacket, InteractPosition, InteractionMode, InternalType, InventoryAction, InventoryContentPacket, InventoryLayout, InventoryLeftTab, InventoryRightTab, InventorySlotPacket, InventorySource, InventorySourceType, InventoryTransaction, InventoryTransactionPacket, ItemData, ItemInstanceUserData, ItemRegistryPacket, ItemReleaseInventoryTransaction, ItemReleaseInventoryTransactionType, ItemStackActionTakePlace, ItemStackRequest, ItemStackRequestAction, ItemStackRequestActionBeanconPayment, ItemStackRequestActionCraftCreative, ItemStackRequestActionCraftGrindstoneRequest, ItemStackRequestActionCraftLoomRequest, ItemStackRequestActionCraftRecipe, ItemStackRequestActionCraftRecipeAuto, ItemStackRequestActionCreate, ItemStackRequestActionDestroyConsume, ItemStackRequestActionDrop, ItemStackRequestActionMineBlock, ItemStackRequestActionOptional, ItemStackRequestActionResultsDeprecated, ItemStackRequestActionSwap, ItemStackRequestActionType, ItemStackRequestPacket, ItemStackRequestSlotInfo, ItemStackResponseContainerInfo, ItemStackResponseInfo, ItemStackResponsePacket, ItemStackResponseResult, ItemStackResponseSlotInfo, ItemStacks, ItemTrackedType, ItemUseInventoryTransaction, ItemUseInventoryTransactionType, ItemUseMethod, ItemUseOnEntityInventoryTransaction, ItemUseOnEntityInventoryTransactionType, LabTablePacket, LabTableReactionType, LabTableType, type LegacyTelemetryEventData, LegacyTelemetryEventPacket, LegacyTransaction, LessonProgressPacket, LevelChunkPacket, LevelEvent, LevelEventGenericPacket, LevelEventPacket, LevelSoundEvent, LevelSoundEventPacket, LoginPacket, type LoginTokenData, LoginTokens, MINECRAFT_SEM_VERSION, MINECRAFT_TICK_SPEED, MINECRAFT_VERSION, MapCreationBits, MapDecoration, MapDecorationBits, MapDecorationType, MapInfoRequestPacket, MapPixel, MapScale, MapTextureUpdateBits, MapTrackedItems, MaterialReducerDataEntry, MaterialRenderMethod, Materials, MemoryTier, MobArmorEquipmentPacket, MobEffectEvents, MobEffectPacket, MobEquipmentPacket, ModalFormCanceled, ModalFormCanceledReason, ModalFormData, ModalFormRequestPacket, ModalFormResponsePacket, ModalFormType, MotionPredictHintsPacket, MoveActorAbsolutePacket, MoveActorDeltaPacket, MoveDeltaFlags, MoveMode, MovePlayerPacket, MovementEffectPacket, MovementEffectType, NbtLoop, NetworkBlockTypeDefinition, NetworkChunkPublisherUpdatePacket, NetworkItemInstanceDescriptor, NetworkItemStackDescriptor, NetworkSettingsPacket, NetworkStackLatencyPacket, NpcDialogueAction, NpcDialoguePacket, NpcRequestPacket, NpcRequestType, ObjectiveSortOrder, OnScreenTextureAnimationPacket, OpenSignPacket, OptionalIO, PROTOCOL_VERSION, PackLinks, PackType, Packet, PacketPool, PacketViolationWarningPacket, Packets, Patterns, PermissionFlag, PermissionLevel, PhotoTransferPacket, PhotoType, PlayMode, PlaySoundPacket, PlayStatus, PlayStatusPacket, PlayerActionPacket, PlayerActionType, PlayerAuthInputData, PlayerAuthInputPacket, PlayerAuthInputTransaction, PlayerAuthItemStackRequest, PlayerBlockActionData, PlayerBlockActions, PlayerEnchantOptionsPacket, PlayerFogPacket, PlayerHotbarPacket, PlayerInputTick, PlayerListAction, PlayerListPacket, PlayerListRecord, PlayerSkinPacket, PlayerStartItemCooldownPacket, PlayerToggleCrafterRequestPacket, PlayerUpdateEntityOverridesPacket, PlayerUpdateEntityOverridesType, PlayerUpdateEntityOverridesValue, PostFixes, PotionMixDataEntry, PredictedResult, PredictionType, PropertySyncData, PurchaseReceiptPacket, PurchaseReceipts, RecipeIngredient, RecipeUnlockingRequirement, RemoveEntityPacket, RemoveObjectivePacket, RequestChunkRadiusPacket, RequestNetworkSettingsPacket, RequestPermissionsPacket, RequestedResourcePack, ResourceIdVersions, ResourcePackChunkDataPacket, ResourcePackChunkRequestPacket, ResourcePackClientResponsePacket, ResourcePackDataInfoPacket, ResourcePackDescriptor, ResourcePackResponse, ResourcePackStackPacket, ResourcePacksClientRequest, ResourcePacksInfoPacket, RespawnPacket, RespawnState, RiderJumpPacket, Rotation, RotationByte, SHIELD_NETWORK_ID, ScoreEntry, ScoreboardActionType, ScoreboardIdentity, ScoreboardIdentityAction, ScoreboardIdentityType, ScriptDebugShape, ScriptDebugShapeType, ScriptMessagePacket, SerializedSkin, ServerAuthMovementMode, ServerScriptDebugDrawerPacket, ServerSettingsRequestPacket, ServerSettingsResponsePacket, ServerStatsPacket, ServerToClientHandshakePacket, ServerboundDiagnosticsPacket, ServerboundLoadingScreenPacketPacket, ServerboundLoadingScreenType, SetActorDataPacket, SetActorLinkPacket, SetActorMotionPacket, SetCommandsEnabledPacket, SetDefaultGamemodePacket, SetDifficultyPacket, SetDisplayObjectivePacket, SetHealthPacket, SetHudPacket, SetLastHurtByPacket, SetLocalPlayerAsInitializedPacket, SetPlayerGameTypePacket, SetPlayerInventoryOptionsPacket, SetScorePacket, SetScoreboardIdentityPacket, SetSpawnPositionPacket, SetTimePacket, SetTitlePacket, ShakeAction, ShakeType, ShapedRecipe, ShapelessRecipe, ShowCreditsPacket, ShowProfilePacket, ShowStoreOfferPacket, ShowStoreOfferRedirectType, SignedBlockPosition, SimpleEventPacket, SimpleEventType, SkinAnimation, SkinImage, SkinPersonaPiece, SkinPersonaTintPiece, SpawnExperienceOrbPacket, SpawnParticleEffectPacket, SpawnType, StartGamePacket, StopSoundPacket, StructureBlockUpdatePacket, StructureEditorData, StructureSettings, SubChunkEntry, SubChunkEntryWithCache, SubChunkEntryWithoutCache, SubChunkPacket, SubChunkRequestPacket, SubChunkRequests, SubChunkResult, SubchunkBlocks, Subcommands, SyncActorPropertyPacket, TakeItemActorPacket, TelemetryEventType, TeleportCause, TextPacket, TextPacketType, TextParameters, TextSource, TickingAreasLoadStatusPacket, TitleType, ToastRequestPacket, TradeOffer, TransactionSourceType, TransferPacket, TriggerType, type TrimDataMaterial, TrimDataPacket, type TrimDataPattern, UnlockedRecipesEntry, UnlockedRecipesPacket, UnlockedRecipesType, UnlockingContext, UpdateAbilitiesPacket, UpdateAdventureSettingsPacket, UpdateAttributesPacket, UpdateBlockFlagsType, UpdateBlockLayerType, UpdateBlockPacket, UpdateBlockSyncPacket, UpdateClientInputLocksPacket, UpdateEquipPacket, UpdatePlayerGameTypePacket, UpdateSoftEnumData, UpdateSoftEnumPacket, UpdateSoftEnumType, UpdateSubchunkBlocksPacket, UpdateTradePacket, UpdateType, UserDataShapelessRecipe, Uuid, Vector2f, Vector3f, Vector3i, ViolationSeverity, ViolationType, WearableSlot, getPacketId };
8374
+ export { AbilityIndex, AbilityLayer, AbilityLayerType, AbilitySet, AbilitySetId, ActorDamageCause, ActorDataId, ActorDataType, ActorEvent, ActorEventPacket, ActorFlag, ActorLink, ActorLinkSet, ActorLinkType, AddBehaviorTreePacket, AddEntityPacket, AddItemActorPacket, AddPaintingPacket, AddPlayerPacket, AgentActionEventPacket, AgentActionType, AgentAnimationId, AgentAnimationPacket, AimAssistMode, AnimateEntity, AnimateEntityPacket, AnimatePacket, AnimateSwingSourceType, AnimateType, Attribute, AttributeModifier, AttributeName, AutomationClientConnectPacket, AvailableActorIdentifiersPacket, AvailableCommandsPacket, AwardAchievementPacket, BLOCK_STATE_VERSION, BehaviorPackInfo, BiomeDefinitionData, BiomeDefinitionList, BiomeDefinitionListPacket, BiomeStringList, BlockAction, BlockActorDataPacket, BlockEventPacket, BlockEventType, BlockFace, BlockPickRequestPacket, BlockPosition, BlockUpdate, BookActions, BookEditAction, BookEditPacket, BossEventAdd, BossEventColor, BossEventPacket, BossEventUpdate, BossEventUpdateType, ByteArray, COMPATIBLE_PROTOCOL_VERSIONS, CameraAudioListener, CameraControlScheme, CameraFOVInstruction, CameraFadeDuration, CameraFadeInstruction, CameraInstructions, CameraInstructionsPacket, CameraPreset, CameraPresetAimAssistDefinition, CameraPresetsPacket, CameraSetEasing, CameraSetInstruction, CameraShakePacket, CameraTargetInstruction, ChainedSubcommandValues, ChangeDimensionPacket, ChangeMobPropertyPacket, ChunkCoords, ChunkRadiusUpdatePacket, ClientBoundDebugRendererPacket, ClientBoundMapItemDataPacket, ClientCacheStatusPacket, type ClientData, ClientInputLocksFlag, ClientPredictedVehicle, ClientToServerHandshakePacket, ClientboundCloseFormPacket, CodeBuilderCategory, CodeBuilderCodeStatus, CodeBuilderOperation, CodeBuilderSourcePacket, Color, CommandBlockActorRuntimeId, CommandBlockMode, CommandBlockSettings, CommandBlockUpdatePacket, CommandOriginData, CommandOriginType, CommandOutputData, CommandOutputMessage, CommandOutputPacket, CommandParameterType, CommandPermissionLevel, CommandRequestPacket, Commands, CompletedUsingItemPacket, ComplexInventoryTransaction, CompressionMethod, ContainerClosePacket, ContainerDataType, ContainerId, ContainerMixDataEntry, ContainerName, ContainerOpenPacket, ContainerSetDataPacket, ContainerType, CorrectPlayerMovePredictionPacket, CraftingDataEntry, CraftingDataEntryType, CraftingDataPacket, CreatePhotoPacket, CreativeContentPacket, CreativeGroup, CreativeItem, CreativeItemCategory, CreativeItemGroup, CurrectStructureFeaturePacket, DataItem, DataPacket, DeathInfoPacket, DeathParameters, DebugInfoPacket, DebuggerProtocolVersion, DefaultAbilityValues, DeviceOS, Difficulty, DimensionDataPacket, DimensionDefinition, DimensionDefinitionGroup, DimensionType, DisconnectMessage, DisconnectPacket, DisconnectReason, DisplaySlotType, DynamicEnums, EasingType, EditorNetworkPacket, EduUriResourcePacket, EffectType, EmoteFlags, EmoteListPacket, EmotePacket, Emotes, EnchantOption, Enchantment, EntityAttributes, EntityPickRequestPacket, EntityPropertyType, EnumConstraints, EnumValues, Enums, EquipmentSlot, Experiments, FeatureDataList, type FeatureDataListEntry, FeatureRegistryPacket, Fogs, Framer, FullContainerName, FurnanceRecipe, GameRule, GameRuleType, GameRules, GameRulesChangedPacket, GameTestRequestPacket, GameTestResponsePacket, GameTestRotationType, Gamemode, GeneratorType, GraphicsMode, GraphicsOverrideParameterPacket, GraphicsOverrideParameterPayload, GraphicsOverrideParameterType, GuiDataPickItemPacket, HeightMapDataType, HudElement, HudElementData, HudVisibility, HurtArmorPacket, type IPosition, type IdentityData, InputData, InputLockFlags, InputMode, InputTransaction, InteractAction, InteractPacket, InteractionMode, InternalType, InventoryAction, InventoryContentPacket, InventoryLayout, InventoryLeftTab, InventoryRightTab, InventorySlotPacket, InventorySource, InventorySourceType, InventoryTransaction, InventoryTransactionPacket, ItemData, ItemInstanceUserData, ItemRegistryPacket, ItemReleaseInventoryTransaction, ItemReleaseInventoryTransactionType, ItemStackActionTakePlace, ItemStackRequest, ItemStackRequestAction, ItemStackRequestActionBeanconPayment, ItemStackRequestActionCraftCreative, ItemStackRequestActionCraftGrindstoneRequest, ItemStackRequestActionCraftLoomRequest, ItemStackRequestActionCraftRecipe, ItemStackRequestActionCraftRecipeAuto, ItemStackRequestActionCreate, ItemStackRequestActionDestroyConsume, ItemStackRequestActionDrop, ItemStackRequestActionMineBlock, ItemStackRequestActionOptional, ItemStackRequestActionResultsDeprecated, ItemStackRequestActionSwap, ItemStackRequestActionType, ItemStackRequestPacket, ItemStackRequestSlotInfo, ItemStackResponseContainerInfo, ItemStackResponseInfo, ItemStackResponsePacket, ItemStackResponseResult, ItemStackResponseSlotInfo, ItemStacks, ItemTrackedType, ItemUseInventoryTransaction, ItemUseInventoryTransactionType, ItemUseMethod, ItemUseOnEntityInventoryTransaction, ItemUseOnEntityInventoryTransactionType, LabTablePacket, LabTableReactionType, LabTableType, type LegacyTelemetryEventData, LegacyTelemetryEventPacket, LegacyTransaction, LessonProgressPacket, LevelChunkPacket, LevelEvent, LevelEventGenericPacket, LevelEventPacket, LevelSoundEvent, LevelSoundEventPacket, LoginPacket, type LoginTokenData, LoginTokens, MINECRAFT_SEM_VERSION, MINECRAFT_TICK_SPEED, MINECRAFT_VERSION, MapCreationBits, MapDecoration, MapDecorationBits, MapDecorationType, MapInfoRequestPacket, MapPixel, MapScale, MapTextureUpdateBits, MapTrackedItems, MaterialReducerDataEntry, MaterialRenderMethod, Materials, MemoryTier, MobArmorEquipmentPacket, MobEffectEvents, MobEffectPacket, MobEquipmentPacket, ModalFormCanceled, ModalFormCanceledReason, ModalFormData, ModalFormRequestPacket, ModalFormResponsePacket, ModalFormType, MotionPredictHintsPacket, MoveActorAbsolutePacket, MoveActorDeltaPacket, MoveDeltaFlags, MoveMode, MovePlayerPacket, MovementEffectPacket, MovementEffectType, NbtLoop, NetworkBlockTypeDefinition, NetworkChunkPublisherUpdatePacket, NetworkItemInstanceDescriptor, NetworkItemStackDescriptor, NetworkSettingsPacket, NetworkStackLatencyPacket, NpcDialogueAction, NpcDialoguePacket, NpcRequestPacket, NpcRequestType, ObjectiveSortOrder, OnScreenTextureAnimationPacket, OpenSignPacket, OptionalIO, PROTOCOL_VERSION, PackLinks, PackType, Packet, PacketPool, PacketViolationWarningPacket, Packets, Patterns, PermissionFlag, PermissionLevel, PhotoTransferPacket, PhotoType, PlayMode, PlaySoundPacket, PlayStatus, PlayStatusPacket, PlayerActionPacket, PlayerActionType, PlayerAuthInputData, PlayerAuthInputPacket, PlayerAuthInputTransaction, PlayerAuthItemStackRequest, PlayerBlockActionData, PlayerBlockActions, PlayerEnchantOptionsPacket, PlayerFogPacket, PlayerHotbarPacket, PlayerInputTick, PlayerListAction, PlayerListPacket, PlayerListRecord, PlayerSkinPacket, PlayerStartItemCooldownPacket, PlayerToggleCrafterRequestPacket, PlayerUpdateEntityOverridesPacket, PlayerUpdateEntityOverridesType, PlayerUpdateEntityOverridesValue, PostFixes, PotionMixDataEntry, PredictedResult, PredictionType, PropertySyncData, PurchaseReceiptPacket, PurchaseReceipts, RecipeIngredient, RecipeUnlockingRequirement, RemoveEntityPacket, RemoveObjectivePacket, RequestChunkRadiusPacket, RequestNetworkSettingsPacket, RequestPermissionsPacket, RequestedResourcePack, ResourceIdVersions, ResourcePackChunkDataPacket, ResourcePackChunkRequestPacket, ResourcePackClientResponsePacket, ResourcePackDataInfoPacket, ResourcePackDescriptor, ResourcePackResponse, ResourcePackStackPacket, ResourcePacksClientRequest, ResourcePacksInfoPacket, RespawnPacket, RespawnState, RiderJumpPacket, Rotation, RotationByte, SHIELD_NETWORK_ID, ScoreEntry, ScoreboardActionType, ScoreboardIdentity, ScoreboardIdentityAction, ScoreboardIdentityType, ScriptDebugShape, ScriptDebugShapeType, ScriptMessagePacket, SerializedSkin, ServerAuthMovementMode, ServerScriptDebugDrawerPacket, ServerSettingsRequestPacket, ServerSettingsResponsePacket, ServerStatsPacket, ServerToClientHandshakePacket, ServerboundDiagnosticsPacket, ServerboundLoadingScreenPacketPacket, ServerboundLoadingScreenType, SetActorDataPacket, SetActorLinkPacket, SetActorMotionPacket, SetCommandsEnabledPacket, SetDefaultGamemodePacket, SetDifficultyPacket, SetDisplayObjectivePacket, SetHealthPacket, SetHudPacket, SetLastHurtByPacket, SetLocalPlayerAsInitializedPacket, SetPlayerGameTypePacket, SetPlayerInventoryOptionsPacket, SetScorePacket, SetScoreboardIdentityPacket, SetSpawnPositionPacket, SetTimePacket, SetTitlePacket, ShakeAction, ShakeType, ShapedRecipe, ShapelessRecipe, ShowCreditsPacket, ShowProfilePacket, ShowStoreOfferPacket, ShowStoreOfferRedirectType, SignedBlockPosition, SimpleEventPacket, SimpleEventType, SkinAnimation, SkinImage, SkinPersonaPiece, SkinPersonaTintPiece, SpawnExperienceOrbPacket, SpawnParticleEffectPacket, SpawnType, StartGamePacket, StopSoundPacket, StructureBlockUpdatePacket, StructureEditorData, StructureSettings, SubChunkEntry, SubChunkEntryWithCache, SubChunkEntryWithoutCache, SubChunkPacket, SubChunkRequestPacket, SubChunkRequests, SubChunkResult, SubchunkBlocks, Subcommands, SyncActorPropertyPacket, TakeItemActorPacket, TelemetryEventType, TeleportCause, TextPacket, TextType, TextVariant, TextVariantType, TickingAreasLoadStatusPacket, TitleType, ToastRequestPacket, TradeOffer, TransactionSourceType, TransferPacket, TriggerType, type TrimDataMaterial, TrimDataPacket, type TrimDataPattern, UnlockedRecipesEntry, UnlockedRecipesPacket, UnlockedRecipesType, UnlockingContext, UpdateAbilitiesPacket, UpdateAdventureSettingsPacket, UpdateAttributesPacket, UpdateBlockFlagsType, UpdateBlockLayerType, UpdateBlockPacket, UpdateBlockSyncPacket, UpdateClientInputLocksPacket, UpdateEquipPacket, UpdatePlayerGameTypePacket, UpdateSoftEnumData, UpdateSoftEnumPacket, UpdateSoftEnumType, UpdateSubchunkBlocksPacket, UpdateTradePacket, UpdateType, UserDataShapelessRecipe, Uuid, Vector2f, Vector3f, Vector3i, ViolationSeverity, ViolationType, WearableSlot, getPacketId };