@serenityjs/protocol 0.8.16 → 0.8.17-beta-20251216014342

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,5 +1,15 @@
1
1
  # @serenityjs/protocol
2
2
 
3
+ ## 0.8.17-beta-20251216014342
4
+
5
+ ### Patch Changes
6
+
7
+ - [`43d3bb6`](https://github.com/SerenityJS/serenity/commit/43d3bb6394648053788274a6d312f1c00dd0b80d) Thanks [@PMK744](https://github.com/PMK744)! - init v0.8.17-beta
8
+
9
+ - Updated dependencies [[`43d3bb6`](https://github.com/SerenityJS/serenity/commit/43d3bb6394648053788274a6d312f1c00dd0b80d)]:
10
+ - @serenityjs/nbt@0.8.17-beta-20251216014342
11
+ - @serenityjs/raknet@0.8.17-beta-20251216014342
12
+
3
13
  ## 0.8.16
4
14
 
5
15
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -1319,12 +1319,12 @@ declare enum GraphicsMode {
1319
1319
  RayTraced = 3
1320
1320
  }
1321
1321
 
1322
- declare enum HeightMapDataType {
1323
- NO_DATA = 0,
1324
- HAS_DATA = 1,
1325
- TOO_HIGH = 2,
1326
- TOO_LOW = 3,
1327
- ALL_COPIED = 4
1322
+ declare enum SubChunkHeightMapDataType {
1323
+ NoData = 0,
1324
+ HasData = 1,
1325
+ TooHight = 2,
1326
+ TooLow = 3,
1327
+ AllCopied = 4
1328
1328
  }
1329
1329
 
1330
1330
  declare enum HudElement {
@@ -2592,16 +2592,6 @@ declare enum SpawnType {
2592
2592
  World = 1
2593
2593
  }
2594
2594
 
2595
- declare enum SubChunkResult {
2596
- UNDEFINED = 0,
2597
- SUCCESS = 1,
2598
- CHUNK_NOT_FOUND = 2,
2599
- INVALID_DIMENSION = 3,
2600
- PLAYER_NOT_FOUND = 4,
2601
- Y_INDEX_OUT_OF_BOUNDS = 5,
2602
- SUCCESS_ALL_AIR = 6
2603
- }
2604
-
2605
2595
  declare enum TelemetryEventType {
2606
2596
  AchievementAwarded = 0,
2607
2597
  EntityInteract = 1,
@@ -2826,6 +2816,16 @@ declare enum TextVariantType {
2826
2816
  MessageAndParams = 2
2827
2817
  }
2828
2818
 
2819
+ declare enum SubChunkRequestResult {
2820
+ Undefined = 0,
2821
+ Success = 1,
2822
+ LevelChunkDoesntExist = 2,
2823
+ WrongDimension = 3,
2824
+ PlayerDoesntExist = 4,
2825
+ IndexOutOfBounds = 5,
2826
+ SuccessAllAir = 6
2827
+ }
2828
+
2829
2829
  /**
2830
2830
  * Represents a Minecraft Bedrock Edition data packet
2831
2831
  */
@@ -2846,6 +2846,8 @@ declare class AddBehaviorTreePacket extends DataPacket {
2846
2846
  treeStructureJson: string;
2847
2847
  }
2848
2848
 
2849
+ declare function TypeArray<T extends typeof DataType>(type: T, size: typeof DataType): typeof DataType;
2850
+
2849
2851
  declare class AbilitySet extends DataType {
2850
2852
  /**
2851
2853
  * The ability index of the flag.
@@ -6525,60 +6527,102 @@ declare class SubchunkBlocks extends DataType {
6525
6527
  static read(stream: BinaryStream): SubchunkBlocks;
6526
6528
  }
6527
6529
 
6528
- declare class Vector3i extends Vector3f {
6530
+ declare class SubChunkRequestPositionOffset extends DataType {
6529
6531
  /**
6530
- * Reads a 3D vector from the stream.
6531
- *
6532
- * @param stream The stream to read from.
6533
- * @returns The 3D vector that was read.
6532
+ * The x offset of the subchunk request.
6534
6533
  */
6535
- static read(stream: BinaryStream): Vector3i;
6534
+ readonly x: number;
6536
6535
  /**
6537
- * Writes a 3D vector to the stream.
6538
- *
6539
- * @param stream The stream to write to.
6540
- * @param value The 3D vector to write.
6536
+ * The y offset of the subchunk request.
6541
6537
  */
6542
- static write(stream: BinaryStream, value: Vector3i): void;
6543
- }
6544
-
6545
- declare class SubChunkEntryWithCache extends DataType {
6546
- offset: Vector3i;
6547
- result: SubChunkResult;
6548
- payload: Buffer | null;
6549
- heightMap: HeightMapDataType;
6550
- heightMapData: Buffer | null;
6551
- renderHeightMap: HeightMapDataType;
6552
- renderHeightMapData: Buffer | null;
6553
- blobId: bigint;
6554
- constructor(offset: Vector3i, result: SubChunkResult, payload: Buffer | null, heightMap: HeightMapDataType, heightMapData: Buffer | null, renderHeightMap: HeightMapDataType, renderHeightMapData: Buffer | null, blobId?: bigint);
6555
- static read(stream: BinaryStream): Array<SubChunkEntryWithCache>;
6538
+ readonly y: number;
6539
+ /**
6540
+ * The z offset of the subchunk request.
6541
+ */
6542
+ readonly z: number;
6543
+ /**
6544
+ * Creates an instance of SubChunkRequestPositionOffset.
6545
+ * @param x
6546
+ * @param y
6547
+ * @param z
6548
+ */
6549
+ constructor(x: number, y: number, z: number);
6550
+ static read(stream: BinaryStream): SubChunkRequestPositionOffset;
6551
+ static write(stream: BinaryStream, value: SubChunkRequestPositionOffset): void;
6556
6552
  }
6557
6553
 
6558
- declare class SubChunkEntryWithoutCache extends DataType {
6559
- offset: Vector3i;
6560
- result: SubChunkResult;
6554
+ declare class SubChunkRequestEntry extends DataType {
6555
+ /**
6556
+ * The offset of the subchunk entry.
6557
+ */
6558
+ offset: SubChunkRequestPositionOffset;
6559
+ /**
6560
+ * The result of the subchunk entry.
6561
+ */
6562
+ result: SubChunkRequestResult;
6563
+ /**
6564
+ * The serialized payload of the subchunk entry.
6565
+ */
6561
6566
  payload: Buffer;
6562
- heightMap: HeightMapDataType;
6563
- heightMapData: Buffer | null;
6564
- renderHeightMap: HeightMapDataType;
6565
- renderHeightMapData: Buffer | null;
6566
- constructor(offset: Vector3i, result: SubChunkResult, payload: Buffer, heightMap: HeightMapDataType, heightMapData: Buffer | null, renderHeightMap: HeightMapDataType, renderHeightMapData: Buffer | null);
6567
- static read(stream: BinaryStream): Array<SubChunkEntryWithoutCache>;
6568
- static write(stream: BinaryStream, value: Array<SubChunkEntryWithoutCache>): void;
6569
- }
6570
-
6571
- declare class SubChunkEntry extends DataType {
6572
- static read(stream: BinaryStream, options?: PacketDataTypeOptions<SubChunkPacket>): Array<SubChunkEntryWithoutCache> | Array<SubChunkEntryWithCache> | null;
6567
+ /**
6568
+ * The height map type of the subchunk entry.
6569
+ */
6570
+ heightMapType: SubChunkHeightMapDataType;
6571
+ /**
6572
+ * The height map payload of the subchunk entry.
6573
+ */
6574
+ heightMapPayload: Buffer | null;
6575
+ /**
6576
+ * The render height map type of the subchunk entry.
6577
+ */
6578
+ renderHeightMapType: SubChunkHeightMapDataType;
6579
+ /**
6580
+ * The render height map payload of the subchunk entry.
6581
+ */
6582
+ renderHeightMapPayload: Buffer | null;
6583
+ /**
6584
+ * The cache blob ID of the subchunk entry.
6585
+ * If caching is disabled, this will be null.
6586
+ */
6587
+ cacheBlobId: bigint | null;
6588
+ /**
6589
+ * Creates an instance of SubChunkRequestResult.
6590
+ * @param offset The offset of the subchunk entry.
6591
+ * @param result The result of the subchunk entry.
6592
+ * @param payload The serialized payload of the subchunk entry.
6593
+ * @param heightMapType The height map type of the subchunk entry.
6594
+ * @param heightMapPayload The height map payload of the subchunk entry.
6595
+ * @param renderHeightMapType The render height map type of the subchunk entry.
6596
+ * @param renderHeightMapPayload The render height map payload of the subchunk entry.
6597
+ * @param cacheBlobId The cache blob ID of the subchunk entry.
6598
+ */
6599
+ constructor(offset: SubChunkRequestPositionOffset, result: SubChunkRequestResult, payload: Buffer, heightMapType: SubChunkHeightMapDataType, heightMapPayload: Buffer | null, renderHeightMapType: SubChunkHeightMapDataType, renderHeightMapPayload: Buffer | null, cacheBlobId: bigint | null);
6600
+ static read(stream: BinaryStream, options?: PacketDataTypeOptions<boolean>): Array<SubChunkRequestEntry>;
6601
+ static write(stream: BinaryStream, value: Array<SubChunkRequestEntry>, options?: PacketDataTypeOptions<boolean>): void;
6573
6602
  }
6574
6603
 
6575
- declare class SubChunkRequests extends DataType {
6576
- readonly x: number;
6577
- readonly y: number;
6578
- readonly z: number;
6604
+ declare class SubChunkPosition extends DataType implements IPosition {
6605
+ /**
6606
+ * The x coordinate of the subchunk position.
6607
+ */
6608
+ x: number;
6609
+ /**
6610
+ * The y coordinate of the subchunk position.
6611
+ */
6612
+ y: number;
6613
+ /**
6614
+ * The z coordinate of the subchunk position.
6615
+ */
6616
+ z: number;
6617
+ /**
6618
+ * Creates an instance of SubChunkPosition.
6619
+ * @param x The x coordinate.
6620
+ * @param y The y coordinate.
6621
+ * @param z The z coordinate.
6622
+ */
6579
6623
  constructor(x: number, y: number, z: number);
6580
- static read(stream: BinaryStream): Array<SubChunkRequests>;
6581
- static write(stream: BinaryStream, value: Array<SubChunkRequests>): void;
6624
+ static read(stream: BinaryStream): SubChunkPosition;
6625
+ static write(stream: BinaryStream, value: SubChunkPosition): void;
6582
6626
  }
6583
6627
 
6584
6628
  interface SubcommandValue {
@@ -6655,6 +6699,23 @@ declare class Uuid extends DataType {
6655
6699
  static write(stream: BinaryStream, value: string): void;
6656
6700
  }
6657
6701
 
6702
+ declare class Vector3i extends Vector3f {
6703
+ /**
6704
+ * Reads a 3D vector from the stream.
6705
+ *
6706
+ * @param stream The stream to read from.
6707
+ * @returns The 3D vector that was read.
6708
+ */
6709
+ static read(stream: BinaryStream): Vector3i;
6710
+ /**
6711
+ * Writes a 3D vector to the stream.
6712
+ *
6713
+ * @param stream The stream to write to.
6714
+ * @param value The 3D vector to write.
6715
+ */
6716
+ static write(stream: BinaryStream, value: Vector3i): void;
6717
+ }
6718
+
6658
6719
  declare class ByteArray extends DataType {
6659
6720
  static read(stream: BinaryStream): Buffer;
6660
6721
  static write(stream: BinaryStream, value: Buffer): void;
@@ -7921,14 +7982,23 @@ declare class StructureBlockUpdatePacket extends DataPacket {
7921
7982
  declare class SubChunkPacket extends DataPacket {
7922
7983
  cacheEnabled: boolean;
7923
7984
  dimension: DimensionType;
7924
- origin: Vector3i;
7925
- entries: Array<SubChunkEntryWithoutCache>;
7985
+ position: SubChunkPosition;
7986
+ results: Array<SubChunkRequestEntry>;
7926
7987
  }
7927
7988
 
7928
7989
  declare class SubChunkRequestPacket extends DataPacket {
7990
+ /**
7991
+ * The dimension of the subchunk request.
7992
+ */
7929
7993
  dimension: DimensionType;
7930
- position: SignedBlockPosition;
7931
- offsets: Array<SubChunkRequests>;
7994
+ /**
7995
+ * The position of the subchunk request.
7996
+ */
7997
+ position: SubChunkPosition;
7998
+ /**
7999
+ * The offsets of the subchunk request.
8000
+ */
8001
+ offsets: Array<SubChunkRequestPositionOffset>;
7932
8002
  }
7933
8003
 
7934
8004
  declare class SyncActorPropertyPacket extends DataPacket {
@@ -8371,4 +8441,4 @@ declare const MINECRAFT_TICK_SPEED = 50;
8371
8441
  declare const BLOCK_STATE_VERSION: number;
8372
8442
  declare const SHIELD_NETWORK_ID = 387;
8373
8443
 
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 };
8444
+ 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, 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, SubChunkHeightMapDataType, SubChunkPacket, SubChunkPosition, SubChunkRequestEntry, SubChunkRequestPacket, SubChunkRequestPositionOffset, SubChunkRequestResult, SubchunkBlocks, Subcommands, SyncActorPropertyPacket, TakeItemActorPacket, TelemetryEventType, TeleportCause, TextPacket, TextType, TextVariant, TextVariantType, TickingAreasLoadStatusPacket, TitleType, ToastRequestPacket, TradeOffer, TransactionSourceType, TransferPacket, TriggerType, type TrimDataMaterial, TrimDataPacket, type TrimDataPattern, TypeArray, 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 };
package/dist/index.d.ts CHANGED
@@ -1319,12 +1319,12 @@ declare enum GraphicsMode {
1319
1319
  RayTraced = 3
1320
1320
  }
1321
1321
 
1322
- declare enum HeightMapDataType {
1323
- NO_DATA = 0,
1324
- HAS_DATA = 1,
1325
- TOO_HIGH = 2,
1326
- TOO_LOW = 3,
1327
- ALL_COPIED = 4
1322
+ declare enum SubChunkHeightMapDataType {
1323
+ NoData = 0,
1324
+ HasData = 1,
1325
+ TooHight = 2,
1326
+ TooLow = 3,
1327
+ AllCopied = 4
1328
1328
  }
1329
1329
 
1330
1330
  declare enum HudElement {
@@ -2592,16 +2592,6 @@ declare enum SpawnType {
2592
2592
  World = 1
2593
2593
  }
2594
2594
 
2595
- declare enum SubChunkResult {
2596
- UNDEFINED = 0,
2597
- SUCCESS = 1,
2598
- CHUNK_NOT_FOUND = 2,
2599
- INVALID_DIMENSION = 3,
2600
- PLAYER_NOT_FOUND = 4,
2601
- Y_INDEX_OUT_OF_BOUNDS = 5,
2602
- SUCCESS_ALL_AIR = 6
2603
- }
2604
-
2605
2595
  declare enum TelemetryEventType {
2606
2596
  AchievementAwarded = 0,
2607
2597
  EntityInteract = 1,
@@ -2826,6 +2816,16 @@ declare enum TextVariantType {
2826
2816
  MessageAndParams = 2
2827
2817
  }
2828
2818
 
2819
+ declare enum SubChunkRequestResult {
2820
+ Undefined = 0,
2821
+ Success = 1,
2822
+ LevelChunkDoesntExist = 2,
2823
+ WrongDimension = 3,
2824
+ PlayerDoesntExist = 4,
2825
+ IndexOutOfBounds = 5,
2826
+ SuccessAllAir = 6
2827
+ }
2828
+
2829
2829
  /**
2830
2830
  * Represents a Minecraft Bedrock Edition data packet
2831
2831
  */
@@ -2846,6 +2846,8 @@ declare class AddBehaviorTreePacket extends DataPacket {
2846
2846
  treeStructureJson: string;
2847
2847
  }
2848
2848
 
2849
+ declare function TypeArray<T extends typeof DataType>(type: T, size: typeof DataType): typeof DataType;
2850
+
2849
2851
  declare class AbilitySet extends DataType {
2850
2852
  /**
2851
2853
  * The ability index of the flag.
@@ -6525,60 +6527,102 @@ declare class SubchunkBlocks extends DataType {
6525
6527
  static read(stream: BinaryStream): SubchunkBlocks;
6526
6528
  }
6527
6529
 
6528
- declare class Vector3i extends Vector3f {
6530
+ declare class SubChunkRequestPositionOffset extends DataType {
6529
6531
  /**
6530
- * Reads a 3D vector from the stream.
6531
- *
6532
- * @param stream The stream to read from.
6533
- * @returns The 3D vector that was read.
6532
+ * The x offset of the subchunk request.
6534
6533
  */
6535
- static read(stream: BinaryStream): Vector3i;
6534
+ readonly x: number;
6536
6535
  /**
6537
- * Writes a 3D vector to the stream.
6538
- *
6539
- * @param stream The stream to write to.
6540
- * @param value The 3D vector to write.
6536
+ * The y offset of the subchunk request.
6541
6537
  */
6542
- static write(stream: BinaryStream, value: Vector3i): void;
6543
- }
6544
-
6545
- declare class SubChunkEntryWithCache extends DataType {
6546
- offset: Vector3i;
6547
- result: SubChunkResult;
6548
- payload: Buffer | null;
6549
- heightMap: HeightMapDataType;
6550
- heightMapData: Buffer | null;
6551
- renderHeightMap: HeightMapDataType;
6552
- renderHeightMapData: Buffer | null;
6553
- blobId: bigint;
6554
- constructor(offset: Vector3i, result: SubChunkResult, payload: Buffer | null, heightMap: HeightMapDataType, heightMapData: Buffer | null, renderHeightMap: HeightMapDataType, renderHeightMapData: Buffer | null, blobId?: bigint);
6555
- static read(stream: BinaryStream): Array<SubChunkEntryWithCache>;
6538
+ readonly y: number;
6539
+ /**
6540
+ * The z offset of the subchunk request.
6541
+ */
6542
+ readonly z: number;
6543
+ /**
6544
+ * Creates an instance of SubChunkRequestPositionOffset.
6545
+ * @param x
6546
+ * @param y
6547
+ * @param z
6548
+ */
6549
+ constructor(x: number, y: number, z: number);
6550
+ static read(stream: BinaryStream): SubChunkRequestPositionOffset;
6551
+ static write(stream: BinaryStream, value: SubChunkRequestPositionOffset): void;
6556
6552
  }
6557
6553
 
6558
- declare class SubChunkEntryWithoutCache extends DataType {
6559
- offset: Vector3i;
6560
- result: SubChunkResult;
6554
+ declare class SubChunkRequestEntry extends DataType {
6555
+ /**
6556
+ * The offset of the subchunk entry.
6557
+ */
6558
+ offset: SubChunkRequestPositionOffset;
6559
+ /**
6560
+ * The result of the subchunk entry.
6561
+ */
6562
+ result: SubChunkRequestResult;
6563
+ /**
6564
+ * The serialized payload of the subchunk entry.
6565
+ */
6561
6566
  payload: Buffer;
6562
- heightMap: HeightMapDataType;
6563
- heightMapData: Buffer | null;
6564
- renderHeightMap: HeightMapDataType;
6565
- renderHeightMapData: Buffer | null;
6566
- constructor(offset: Vector3i, result: SubChunkResult, payload: Buffer, heightMap: HeightMapDataType, heightMapData: Buffer | null, renderHeightMap: HeightMapDataType, renderHeightMapData: Buffer | null);
6567
- static read(stream: BinaryStream): Array<SubChunkEntryWithoutCache>;
6568
- static write(stream: BinaryStream, value: Array<SubChunkEntryWithoutCache>): void;
6569
- }
6570
-
6571
- declare class SubChunkEntry extends DataType {
6572
- static read(stream: BinaryStream, options?: PacketDataTypeOptions<SubChunkPacket>): Array<SubChunkEntryWithoutCache> | Array<SubChunkEntryWithCache> | null;
6567
+ /**
6568
+ * The height map type of the subchunk entry.
6569
+ */
6570
+ heightMapType: SubChunkHeightMapDataType;
6571
+ /**
6572
+ * The height map payload of the subchunk entry.
6573
+ */
6574
+ heightMapPayload: Buffer | null;
6575
+ /**
6576
+ * The render height map type of the subchunk entry.
6577
+ */
6578
+ renderHeightMapType: SubChunkHeightMapDataType;
6579
+ /**
6580
+ * The render height map payload of the subchunk entry.
6581
+ */
6582
+ renderHeightMapPayload: Buffer | null;
6583
+ /**
6584
+ * The cache blob ID of the subchunk entry.
6585
+ * If caching is disabled, this will be null.
6586
+ */
6587
+ cacheBlobId: bigint | null;
6588
+ /**
6589
+ * Creates an instance of SubChunkRequestResult.
6590
+ * @param offset The offset of the subchunk entry.
6591
+ * @param result The result of the subchunk entry.
6592
+ * @param payload The serialized payload of the subchunk entry.
6593
+ * @param heightMapType The height map type of the subchunk entry.
6594
+ * @param heightMapPayload The height map payload of the subchunk entry.
6595
+ * @param renderHeightMapType The render height map type of the subchunk entry.
6596
+ * @param renderHeightMapPayload The render height map payload of the subchunk entry.
6597
+ * @param cacheBlobId The cache blob ID of the subchunk entry.
6598
+ */
6599
+ constructor(offset: SubChunkRequestPositionOffset, result: SubChunkRequestResult, payload: Buffer, heightMapType: SubChunkHeightMapDataType, heightMapPayload: Buffer | null, renderHeightMapType: SubChunkHeightMapDataType, renderHeightMapPayload: Buffer | null, cacheBlobId: bigint | null);
6600
+ static read(stream: BinaryStream, options?: PacketDataTypeOptions<boolean>): Array<SubChunkRequestEntry>;
6601
+ static write(stream: BinaryStream, value: Array<SubChunkRequestEntry>, options?: PacketDataTypeOptions<boolean>): void;
6573
6602
  }
6574
6603
 
6575
- declare class SubChunkRequests extends DataType {
6576
- readonly x: number;
6577
- readonly y: number;
6578
- readonly z: number;
6604
+ declare class SubChunkPosition extends DataType implements IPosition {
6605
+ /**
6606
+ * The x coordinate of the subchunk position.
6607
+ */
6608
+ x: number;
6609
+ /**
6610
+ * The y coordinate of the subchunk position.
6611
+ */
6612
+ y: number;
6613
+ /**
6614
+ * The z coordinate of the subchunk position.
6615
+ */
6616
+ z: number;
6617
+ /**
6618
+ * Creates an instance of SubChunkPosition.
6619
+ * @param x The x coordinate.
6620
+ * @param y The y coordinate.
6621
+ * @param z The z coordinate.
6622
+ */
6579
6623
  constructor(x: number, y: number, z: number);
6580
- static read(stream: BinaryStream): Array<SubChunkRequests>;
6581
- static write(stream: BinaryStream, value: Array<SubChunkRequests>): void;
6624
+ static read(stream: BinaryStream): SubChunkPosition;
6625
+ static write(stream: BinaryStream, value: SubChunkPosition): void;
6582
6626
  }
6583
6627
 
6584
6628
  interface SubcommandValue {
@@ -6655,6 +6699,23 @@ declare class Uuid extends DataType {
6655
6699
  static write(stream: BinaryStream, value: string): void;
6656
6700
  }
6657
6701
 
6702
+ declare class Vector3i extends Vector3f {
6703
+ /**
6704
+ * Reads a 3D vector from the stream.
6705
+ *
6706
+ * @param stream The stream to read from.
6707
+ * @returns The 3D vector that was read.
6708
+ */
6709
+ static read(stream: BinaryStream): Vector3i;
6710
+ /**
6711
+ * Writes a 3D vector to the stream.
6712
+ *
6713
+ * @param stream The stream to write to.
6714
+ * @param value The 3D vector to write.
6715
+ */
6716
+ static write(stream: BinaryStream, value: Vector3i): void;
6717
+ }
6718
+
6658
6719
  declare class ByteArray extends DataType {
6659
6720
  static read(stream: BinaryStream): Buffer;
6660
6721
  static write(stream: BinaryStream, value: Buffer): void;
@@ -7921,14 +7982,23 @@ declare class StructureBlockUpdatePacket extends DataPacket {
7921
7982
  declare class SubChunkPacket extends DataPacket {
7922
7983
  cacheEnabled: boolean;
7923
7984
  dimension: DimensionType;
7924
- origin: Vector3i;
7925
- entries: Array<SubChunkEntryWithoutCache>;
7985
+ position: SubChunkPosition;
7986
+ results: Array<SubChunkRequestEntry>;
7926
7987
  }
7927
7988
 
7928
7989
  declare class SubChunkRequestPacket extends DataPacket {
7990
+ /**
7991
+ * The dimension of the subchunk request.
7992
+ */
7929
7993
  dimension: DimensionType;
7930
- position: SignedBlockPosition;
7931
- offsets: Array<SubChunkRequests>;
7994
+ /**
7995
+ * The position of the subchunk request.
7996
+ */
7997
+ position: SubChunkPosition;
7998
+ /**
7999
+ * The offsets of the subchunk request.
8000
+ */
8001
+ offsets: Array<SubChunkRequestPositionOffset>;
7932
8002
  }
7933
8003
 
7934
8004
  declare class SyncActorPropertyPacket extends DataPacket {
@@ -8371,4 +8441,4 @@ declare const MINECRAFT_TICK_SPEED = 50;
8371
8441
  declare const BLOCK_STATE_VERSION: number;
8372
8442
  declare const SHIELD_NETWORK_ID = 387;
8373
8443
 
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 };
8444
+ 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, 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, SubChunkHeightMapDataType, SubChunkPacket, SubChunkPosition, SubChunkRequestEntry, SubChunkRequestPacket, SubChunkRequestPositionOffset, SubChunkRequestResult, SubchunkBlocks, Subcommands, SyncActorPropertyPacket, TakeItemActorPacket, TelemetryEventType, TeleportCause, TextPacket, TextType, TextVariant, TextVariantType, TickingAreasLoadStatusPacket, TitleType, ToastRequestPacket, TradeOffer, TransactionSourceType, TransferPacket, TriggerType, type TrimDataMaterial, TrimDataPacket, type TrimDataPattern, TypeArray, 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 };