@miniblox/protocol 3.41.77-0.0.0 → 3.41.77-0.0.2

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/ReadME.md ADDED
@@ -0,0 +1,3 @@
1
+ # @miniblox/protocol
2
+
3
+ Just contains generated protobuf definitions for `@miniblox/bot` and `@miniblox/server` (TODO: actually make these).
@@ -1,7 +1,237 @@
1
- import { CPacketLocalStorage_Action, Equipment_Slot, PBAction, PBEnumFacing, SPacketUseEntity_Action } from "./common_pb.mjs";
2
- import { CPacketChunkData } from "./protocol3_pb.mjs";
3
- import { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, Message, PartialMessage, PlainMessage, proto2 } from "@bufbuild/protobuf";
1
+ import { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, Message, PartialMessage, PlainMessage, proto2, proto3 } from "@bufbuild/protobuf";
4
2
 
3
+ //#region gen/common_pb.d.ts
4
+ /**
5
+ * @generated from enum Equipment_Slot
6
+ */
7
+ declare enum Equipment_Slot {
8
+ /**
9
+ * @generated from enum value: UNDEFINED_SLOT = 0;
10
+ */
11
+ UNDEFINED_SLOT = 0,
12
+ /**
13
+ * @generated from enum value: MAIN_HAND = 1;
14
+ */
15
+ MAIN_HAND = 1,
16
+ /**
17
+ * @generated from enum value: OFF_HAND = 2;
18
+ */
19
+ OFF_HAND = 2,
20
+ /**
21
+ * @generated from enum value: HELMET = 3;
22
+ */
23
+ HELMET = 3,
24
+ /**
25
+ * @generated from enum value: CHESTPLATE = 4;
26
+ */
27
+ CHESTPLATE = 4,
28
+ /**
29
+ * @generated from enum value: LEGGINGS = 5;
30
+ */
31
+ LEGGINGS = 5,
32
+ /**
33
+ * @generated from enum value: BOOTS = 6;
34
+ */
35
+ BOOTS = 6
36
+ }
37
+ /**
38
+ * @generated from enum PBAction
39
+ */
40
+ declare enum PBAction {
41
+ /**
42
+ * @generated from enum value: START_DESTROY_BLOCK = 0;
43
+ */
44
+ START_DESTROY_BLOCK = 0,
45
+ /**
46
+ * @generated from enum value: ABORT_DESTROY_BLOCK = 1;
47
+ */
48
+ ABORT_DESTROY_BLOCK = 1,
49
+ /**
50
+ * @generated from enum value: STOP_DESTROY_BLOCK = 2;
51
+ */
52
+ STOP_DESTROY_BLOCK = 2,
53
+ /**
54
+ * @generated from enum value: DROP_ALL_ITEMS = 3;
55
+ */
56
+ DROP_ALL_ITEMS = 3,
57
+ /**
58
+ * @generated from enum value: DROP_ITEM = 4;
59
+ */
60
+ DROP_ITEM = 4,
61
+ /**
62
+ * @generated from enum value: RELEASE_USE_ITEM = 5;
63
+ */
64
+ RELEASE_USE_ITEM = 5
65
+ }
66
+ /**
67
+ * @generated from enum PBEnumFacing
68
+ */
69
+ declare enum PBEnumFacing {
70
+ /**
71
+ * @generated from enum value: UNDEFINED_FACE = 0;
72
+ */
73
+ UNDEFINED_FACE = 0,
74
+ /**
75
+ * @generated from enum value: DOWN = 1;
76
+ */
77
+ DOWN = 1,
78
+ /**
79
+ * @generated from enum value: UP = 2;
80
+ */
81
+ UP = 2,
82
+ /**
83
+ * @generated from enum value: NORTH = 3;
84
+ */
85
+ NORTH = 3,
86
+ /**
87
+ * @generated from enum value: SOUTH = 4;
88
+ */
89
+ SOUTH = 4,
90
+ /**
91
+ * @generated from enum value: WEST = 5;
92
+ */
93
+ WEST = 5,
94
+ /**
95
+ * @generated from enum value: EAST = 6;
96
+ */
97
+ EAST = 6
98
+ }
99
+ /**
100
+ * @generated from enum SPacketUseEntity_Action
101
+ */
102
+ declare enum SPacketUseEntity_Action {
103
+ /**
104
+ * @generated from enum value: INTERACT = 0;
105
+ */
106
+ INTERACT = 0,
107
+ /**
108
+ * @generated from enum value: ATTACK = 1;
109
+ */
110
+ ATTACK = 1,
111
+ /**
112
+ * @generated from enum value: INTERACT_AT = 2;
113
+ */
114
+ INTERACT_AT = 2
115
+ }
116
+ /**
117
+ * @generated from enum CPacketLocalStorage_Action
118
+ */
119
+ declare enum CPacketLocalStorage_Action {
120
+ /**
121
+ * @generated from enum value: DEFAULT = 0;
122
+ */
123
+ DEFAULT = 0,
124
+ /**
125
+ * @generated from enum value: REMOVE = 1;
126
+ */
127
+ REMOVE = 1,
128
+ /**
129
+ * @generated from enum value: SET = 2;
130
+ */
131
+ SET = 2
132
+ }
133
+ //#endregion
134
+ //#region gen/protocol3_pb.d.ts
135
+ /**
136
+ * @generated from message PBCell
137
+ */
138
+ declare class PBCell extends Message<PBCell> {
139
+ /**
140
+ * @generated from field: uint32 bitsPerEntry = 2;
141
+ */
142
+ bitsPerEntry: number;
143
+ /**
144
+ * @generated from field: repeated uint32 palette = 3;
145
+ */
146
+ palette: number[];
147
+ /**
148
+ * @generated from field: uint32 blockRefCount = 5;
149
+ */
150
+ blockRefCount: number;
151
+ /**
152
+ * @generated from field: bytes bitArray = 6;
153
+ */
154
+ bitArray: Uint8Array<ArrayBuffer>;
155
+ /**
156
+ * @generated from field: uint32 y = 7;
157
+ */
158
+ y: number;
159
+ constructor(data?: PartialMessage<PBCell>);
160
+ static readonly runtime: typeof proto3;
161
+ static readonly typeName = "PBCell";
162
+ static readonly fields: FieldList;
163
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PBCell;
164
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PBCell;
165
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PBCell;
166
+ static equals(a: PBCell | PlainMessage<PBCell> | undefined, b: PBCell | PlainMessage<PBCell> | undefined): boolean;
167
+ }
168
+ /**
169
+ * @generated from message PBTileEntity
170
+ */
171
+ declare class PBTileEntity extends Message<PBTileEntity> {
172
+ /**
173
+ * @generated from field: sint32 x = 1;
174
+ */
175
+ x: number;
176
+ /**
177
+ * @generated from field: uint32 y = 2;
178
+ */
179
+ y: number;
180
+ /**
181
+ * @generated from field: sint32 z = 3;
182
+ */
183
+ z: number;
184
+ /**
185
+ * @generated from field: bytes nbt = 5;
186
+ */
187
+ nbt: Uint8Array<ArrayBuffer>;
188
+ constructor(data?: PartialMessage<PBTileEntity>);
189
+ static readonly runtime: typeof proto3;
190
+ static readonly typeName = "PBTileEntity";
191
+ static readonly fields: FieldList;
192
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PBTileEntity;
193
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PBTileEntity;
194
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PBTileEntity;
195
+ static equals(a: PBTileEntity | PlainMessage<PBTileEntity> | undefined, b: PBTileEntity | PlainMessage<PBTileEntity> | undefined): boolean;
196
+ }
197
+ /**
198
+ * @generated from message CPacketChunkData
199
+ */
200
+ declare class CPacketChunkData extends Message<CPacketChunkData> {
201
+ /**
202
+ * @generated from field: sint32 x = 1;
203
+ */
204
+ x: number;
205
+ /**
206
+ * @generated from field: sint32 z = 2;
207
+ */
208
+ z: number;
209
+ /**
210
+ * @generated from field: repeated PBCell cells = 3;
211
+ */
212
+ cells: PBCell[];
213
+ /**
214
+ * @generated from field: repeated PBTileEntity tileEntities = 4;
215
+ */
216
+ tileEntities: PBTileEntity[];
217
+ /**
218
+ * @generated from field: int32 dimension = 5;
219
+ */
220
+ dimension: number;
221
+ /**
222
+ * @generated from field: repeated uint32 biomes = 6;
223
+ */
224
+ biomes: number[];
225
+ constructor(data?: PartialMessage<CPacketChunkData>);
226
+ static readonly runtime: typeof proto3;
227
+ static readonly typeName = "CPacketChunkData";
228
+ static readonly fields: FieldList;
229
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CPacketChunkData;
230
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CPacketChunkData;
231
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CPacketChunkData;
232
+ static equals(a: CPacketChunkData | PlainMessage<CPacketChunkData> | undefined, b: CPacketChunkData | PlainMessage<CPacketChunkData> | undefined): boolean;
233
+ }
234
+ //#endregion
5
235
  //#region gen/protocol2_pb.d.ts
6
236
  /**
7
237
  * @generated from message CPacketAnimation
@@ -2003,9 +2233,9 @@ declare class CPacketTimeUpdate extends Message<CPacketTimeUpdate> {
2003
2233
  */
2004
2234
  declare class ClientBoundCombined extends Message<ClientBoundCombined> {
2005
2235
  /**
2006
- * @generated from field: repeated ClientBoundCombined.ClientBoundCombined_CPacket packets = 1;
2236
+ * @generated from field: repeated ClientBoundCombined.CPacket packets = 1;
2007
2237
  */
2008
- packets: ClientBoundCombined_ClientBoundCombined_CPacket[];
2238
+ packets: ClientBoundCombined_CPacket[];
2009
2239
  constructor(data?: PartialMessage<ClientBoundCombined>);
2010
2240
  static readonly runtime: typeof proto2;
2011
2241
  static readonly typeName = "ClientBoundCombined";
@@ -2016,11 +2246,11 @@ declare class ClientBoundCombined extends Message<ClientBoundCombined> {
2016
2246
  static equals(a: ClientBoundCombined | PlainMessage<ClientBoundCombined> | undefined, b: ClientBoundCombined | PlainMessage<ClientBoundCombined> | undefined): boolean;
2017
2247
  }
2018
2248
  /**
2019
- * @generated from message ClientBoundCombined.ClientBoundCombined_CPacket
2249
+ * @generated from message ClientBoundCombined.CPacket
2020
2250
  */
2021
- declare class ClientBoundCombined_ClientBoundCombined_CPacket extends Message<ClientBoundCombined_ClientBoundCombined_CPacket> {
2251
+ declare class ClientBoundCombined_CPacket extends Message<ClientBoundCombined_CPacket> {
2022
2252
  /**
2023
- * @generated from oneof ClientBoundCombined.ClientBoundCombined_CPacket.packet
2253
+ * @generated from oneof ClientBoundCombined.CPacket.packet
2024
2254
  */
2025
2255
  packet: {
2026
2256
  /**
@@ -2374,14 +2604,14 @@ declare class ClientBoundCombined_ClientBoundCombined_CPacket extends Message<Cl
2374
2604
  case: undefined;
2375
2605
  value?: undefined;
2376
2606
  };
2377
- constructor(data?: PartialMessage<ClientBoundCombined_ClientBoundCombined_CPacket>);
2607
+ constructor(data?: PartialMessage<ClientBoundCombined_CPacket>);
2378
2608
  static readonly runtime: typeof proto2;
2379
- static readonly typeName = "ClientBoundCombined.ClientBoundCombined_CPacket";
2609
+ static readonly typeName = "ClientBoundCombined.CPacket";
2380
2610
  static readonly fields: FieldList;
2381
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientBoundCombined_ClientBoundCombined_CPacket;
2382
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientBoundCombined_ClientBoundCombined_CPacket;
2383
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientBoundCombined_ClientBoundCombined_CPacket;
2384
- static equals(a: ClientBoundCombined_ClientBoundCombined_CPacket | PlainMessage<ClientBoundCombined_ClientBoundCombined_CPacket> | undefined, b: ClientBoundCombined_ClientBoundCombined_CPacket | PlainMessage<ClientBoundCombined_ClientBoundCombined_CPacket> | undefined): boolean;
2611
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientBoundCombined_CPacket;
2612
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientBoundCombined_CPacket;
2613
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientBoundCombined_CPacket;
2614
+ static equals(a: ClientBoundCombined_CPacket | PlainMessage<ClientBoundCombined_CPacket> | undefined, b: ClientBoundCombined_CPacket | PlainMessage<ClientBoundCombined_CPacket> | undefined): boolean;
2385
2615
  }
2386
2616
  /**
2387
2617
  * @generated from message KickPlayer
@@ -3001,6 +3231,23 @@ declare class SPacketRespawn extends Message<SPacketRespawn> {
3001
3231
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SPacketRespawn;
3002
3232
  static equals(a: SPacketRespawn | PlainMessage<SPacketRespawn> | undefined, b: SPacketRespawn | PlainMessage<SPacketRespawn> | undefined): boolean;
3003
3233
  }
3234
+ /**
3235
+ * @generated from message SPacketTabComplete
3236
+ */
3237
+ declare class SPacketTabComplete extends Message<SPacketTabComplete> {
3238
+ /**
3239
+ * @generated from field: required string message = 1;
3240
+ */
3241
+ message?: string;
3242
+ constructor(data?: PartialMessage<SPacketTabComplete>);
3243
+ static readonly runtime: typeof proto2;
3244
+ static readonly typeName = "SPacketTabComplete";
3245
+ static readonly fields: FieldList;
3246
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SPacketTabComplete;
3247
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SPacketTabComplete;
3248
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SPacketTabComplete;
3249
+ static equals(a: SPacketTabComplete | PlainMessage<SPacketTabComplete> | undefined, b: SPacketTabComplete | PlainMessage<SPacketTabComplete> | undefined): boolean;
3250
+ }
3004
3251
  /**
3005
3252
  * @generated from message SPacketUpdateSign
3006
3253
  */
@@ -3294,4 +3541,103 @@ declare class SPacketUseItem extends Message<SPacketUseItem> {
3294
3541
  static equals(a: SPacketUseItem | PlainMessage<SPacketUseItem> | undefined, b: SPacketUseItem | PlainMessage<SPacketUseItem> | undefined): boolean;
3295
3542
  }
3296
3543
  //#endregion
3297
- export { BanPlayer, CPacketAnimation, CPacketBlockAction, CPacketBlockUpdate, CPacketChangeServers, CPacketCloseWindow, CPacketConfirmTransaction, CPacketDestroyEntities, CPacketDisconnect, CPacketEntityAction, CPacketEntityAttach, CPacketEntityEffect, CPacketEntityEquipment, CPacketEntityMetadata, CPacketEntityPositionAndRotation, CPacketEntityProperties, CPacketEntityRelativePositionAndRotation, CPacketEntityStatus, CPacketEntityVelocity, CPacketExplosion, CPacketJoinGame, CPacketLeaderboard, CPacketLocalStorage, CPacketMessage, CPacketOpenShop, CPacketOpenWindow, CPacketParticles, CPacketPlayerList, CPacketPlayerPosLook, CPacketPlayerPosition, CPacketPlayerReconciliation, CPacketPong, CPacketQueueNext, CPacketRemoveEntityEffect, CPacketRespawn, CPacketScoreboard, CPacketServerInfo, CPacketServerMetadata, CPacketSetExperience, CPacketSetSlot, CPacketShopProperties, CPacketShopProperty, CPacketSignEditorOpen, CPacketSoundEffect, CPacketSpawnEntity, CPacketSpawnExperienceOrb, CPacketSpawnPlayer, CPacketTabComplete, CPacketTimeUpdate, CPacketTitle, CPacketUpdate, CPacketUpdateCommandBlock, CPacketUpdateHealth, CPacketUpdateLeaderboard, CPacketUpdateScoreboard, CPacketUpdateSign, CPacketUpdateStatus, CPacketUseBed, CPacketWindowItems, CPacketWindowProperty, ClientBoundCombined, ClientBoundCombined_ClientBoundCombined_CPacket, DemotePlayer, Equipment, KickPlayer, PBBlockPos, PBCosmetics, PBFloatVector3, PBItemStack, PBModifier, PBSnapshot, PBVector3, PBWatchableObject, PlayerData, PlayerPermissionEntry, PromotePlayer, SPacketAdminAction, SPacketAnalytics, SPacketBreakBlock, SPacketClick, SPacketClickWindow, SPacketCloseWindow, SPacketConfirmTransaction, SPacketCraftItem, SPacketEnchantItem, SPacketEntityAction, SPacketHeldItemChange, SPacketLoginStart, SPacketMessage, SPacketOpenShop, SPacketPing, SPacketPlaceBlock, SPacketPlayerAbilities, SPacketPlayerAction, SPacketPlayerInput, SPacketPlayerPosLook, SPacketQueueNext, SPacketRequestChunk, SPacketRespawn, SPacketUpdateCommandBlock, SPacketUpdateInventory, SPacketUpdateSign, SPacketUseEntity, SPacketUseItem, ScoreboardContent, StopServer, UnbanPlayer, UpdateAccessControl, UpdateCheats, UpdateCommandBlock, UpdatePvP, Vector3 };
3544
+ //#region src/index.d.ts
3545
+ declare const CPACKET_MAP: {
3546
+ readonly CPacketAnimation: typeof CPacketAnimation;
3547
+ readonly CPacketBlockAction: typeof CPacketBlockAction;
3548
+ readonly CPacketBlockUpdate: typeof CPacketBlockUpdate;
3549
+ readonly CPacketChangeServers: typeof CPacketChangeServers;
3550
+ readonly CPacketChunkData: typeof CPacketChunkData;
3551
+ readonly CPacketCloseWindow: typeof CPacketCloseWindow;
3552
+ readonly CPacketConfirmTransaction: typeof CPacketConfirmTransaction;
3553
+ readonly CPacketDestroyEntities: typeof CPacketDestroyEntities;
3554
+ readonly CPacketDisconnect: typeof CPacketDisconnect;
3555
+ readonly CPacketEntityAction: typeof CPacketEntityAction;
3556
+ readonly CPacketEntityEquipment: typeof CPacketEntityEquipment;
3557
+ readonly CPacketEntityMetadata: typeof CPacketEntityMetadata;
3558
+ readonly CPacketEntityPositionAndRotation: typeof CPacketEntityPositionAndRotation;
3559
+ readonly CPacketEntityRelativePositionAndRotation: typeof CPacketEntityRelativePositionAndRotation;
3560
+ readonly CPacketEntityStatus: typeof CPacketEntityStatus;
3561
+ readonly CPacketEntityVelocity: typeof CPacketEntityVelocity;
3562
+ readonly CPacketExplosion: typeof CPacketExplosion;
3563
+ readonly CPacketJoinGame: typeof CPacketJoinGame;
3564
+ readonly CPacketLeaderboard: typeof CPacketLeaderboard;
3565
+ readonly CPacketLocalStorage: typeof CPacketLocalStorage;
3566
+ readonly CPacketMessage: typeof CPacketMessage;
3567
+ readonly CPacketOpenWindow: typeof CPacketOpenWindow;
3568
+ readonly CPacketParticles: typeof CPacketParticles;
3569
+ readonly CPacketPlayerList: typeof CPacketPlayerList;
3570
+ readonly CPacketPlayerPosition: typeof CPacketPlayerPosition;
3571
+ readonly CPacketPlayerPosLook: typeof CPacketPlayerPosLook;
3572
+ readonly CPacketPlayerReconciliation: typeof CPacketPlayerReconciliation;
3573
+ readonly CPacketPong: typeof CPacketPong;
3574
+ readonly CPacketRespawn: typeof CPacketRespawn;
3575
+ readonly CPacketScoreboard: typeof CPacketScoreboard;
3576
+ readonly CPacketServerInfo: typeof CPacketServerInfo;
3577
+ readonly CPacketSetSlot: typeof CPacketSetSlot;
3578
+ readonly CPacketSignEditorOpen: typeof CPacketSignEditorOpen;
3579
+ readonly CPacketSoundEffect: typeof CPacketSoundEffect;
3580
+ readonly CPacketSpawnEntity: typeof CPacketSpawnEntity;
3581
+ readonly CPacketSpawnPlayer: typeof CPacketSpawnPlayer;
3582
+ readonly CPacketTabComplete: typeof CPacketTabComplete;
3583
+ readonly CPacketTitle: typeof CPacketTitle;
3584
+ readonly CPacketUpdate: typeof CPacketUpdate;
3585
+ readonly CPacketUpdateHealth: typeof CPacketUpdateHealth;
3586
+ readonly CPacketUpdateLeaderboard: typeof CPacketUpdateLeaderboard;
3587
+ readonly CPacketUpdateScoreboard: typeof CPacketUpdateScoreboard;
3588
+ readonly CPacketUpdateSign: typeof CPacketUpdateSign;
3589
+ readonly CPacketUpdateStatus: typeof CPacketUpdateStatus;
3590
+ readonly CPacketWindowItems: typeof CPacketWindowItems;
3591
+ readonly CPacketWindowProperty: typeof CPacketWindowProperty;
3592
+ readonly CPacketUseBed: typeof CPacketUseBed;
3593
+ readonly CPacketQueueNext: typeof CPacketQueueNext;
3594
+ readonly CPacketSpawnExperienceOrb: typeof CPacketSpawnExperienceOrb;
3595
+ readonly CPacketSetExperience: typeof CPacketSetExperience;
3596
+ readonly CPacketOpenShop: typeof CPacketOpenShop;
3597
+ readonly CPacketShopProperties: typeof CPacketShopProperties;
3598
+ readonly CPacketEntityProperties: typeof CPacketEntityProperties;
3599
+ readonly CPacketEntityEffect: typeof CPacketEntityEffect;
3600
+ readonly CPacketRemoveEntityEffect: typeof CPacketRemoveEntityEffect;
3601
+ readonly CPacketUpdateCommandBlock: typeof CPacketUpdateCommandBlock;
3602
+ readonly CPacketEntityAttach: typeof CPacketEntityAttach;
3603
+ readonly CPacketServerMetadata: typeof CPacketServerMetadata;
3604
+ readonly CPacketTimeUpdate: typeof CPacketTimeUpdate;
3605
+ readonly ClientBoundCombined: typeof ClientBoundCombined;
3606
+ };
3607
+ declare const SPACKET_MAP: {
3608
+ readonly SPacketAdminAction: typeof SPacketAdminAction;
3609
+ readonly SPacketAnalytics: typeof SPacketAnalytics;
3610
+ readonly SPacketClickWindow: typeof SPacketClickWindow;
3611
+ readonly SPacketCloseWindow: typeof SPacketCloseWindow;
3612
+ readonly SPacketConfirmTransaction: typeof SPacketConfirmTransaction;
3613
+ readonly SPacketEnchantItem: typeof SPacketEnchantItem;
3614
+ readonly SPacketEntityAction: typeof SPacketEntityAction;
3615
+ readonly SPacketHeldItemChange: typeof SPacketHeldItemChange;
3616
+ readonly SPacketLoginStart: typeof SPacketLoginStart;
3617
+ readonly SPacketMessage: typeof SPacketMessage;
3618
+ readonly SPacketOpenShop: typeof SPacketOpenShop;
3619
+ readonly SPacketPing: typeof SPacketPing;
3620
+ readonly SPacketPlayerAbilities: typeof SPacketPlayerAbilities;
3621
+ readonly SPacketPlayerAction: typeof SPacketPlayerAction;
3622
+ readonly SPacketPlayerPosLook: typeof SPacketPlayerPosLook;
3623
+ readonly SPacketRespawn: typeof SPacketRespawn;
3624
+ readonly SPacketTabComplete: typeof SPacketTabComplete;
3625
+ readonly SPacketUpdateSign: typeof SPacketUpdateSign;
3626
+ readonly SPacketUseEntity: typeof SPacketUseEntity;
3627
+ readonly SPacketUpdateCommandBlock: typeof SPacketUpdateCommandBlock;
3628
+ readonly SPacketQueueNext: typeof SPacketQueueNext;
3629
+ readonly SPacketPlayerInput: typeof SPacketPlayerInput;
3630
+ readonly SPacketBreakBlock: typeof SPacketBreakBlock;
3631
+ readonly SPacketClick: typeof SPacketClick;
3632
+ readonly SPacketCraftItem: typeof SPacketCraftItem;
3633
+ readonly SPacketPlaceBlock: typeof SPacketPlaceBlock;
3634
+ readonly SPacketRequestChunk: typeof SPacketRequestChunk;
3635
+ readonly SPacketUpdateInventory: typeof SPacketUpdateInventory;
3636
+ readonly SPacketUseItem: typeof SPacketUseItem;
3637
+ };
3638
+ type AnyPacketMap = typeof CPACKET_MAP & typeof SPACKET_MAP;
3639
+ declare const NAME_TO_ID: Record<string, number>;
3640
+ declare const ID_TO_PACKET: Record<string, PlainMessage<Message>>;
3641
+ declare const ID_TO_NAME: Record<number, keyof AnyPacketMap>;
3642
+ //#endregion
3643
+ export { BanPlayer, CPACKET_MAP, CPacketAnimation, CPacketBlockAction, CPacketBlockUpdate, CPacketChangeServers, CPacketChunkData, CPacketCloseWindow, CPacketConfirmTransaction, CPacketDestroyEntities, CPacketDisconnect, CPacketEntityAction, CPacketEntityAttach, CPacketEntityEffect, CPacketEntityEquipment, CPacketEntityMetadata, CPacketEntityPositionAndRotation, CPacketEntityProperties, CPacketEntityRelativePositionAndRotation, CPacketEntityStatus, CPacketEntityVelocity, CPacketExplosion, CPacketJoinGame, CPacketLeaderboard, CPacketLocalStorage, CPacketLocalStorage_Action, CPacketMessage, CPacketOpenShop, CPacketOpenWindow, CPacketParticles, CPacketPlayerList, CPacketPlayerPosLook, CPacketPlayerPosition, CPacketPlayerReconciliation, CPacketPong, CPacketQueueNext, CPacketRemoveEntityEffect, CPacketRespawn, CPacketScoreboard, CPacketServerInfo, CPacketServerMetadata, CPacketSetExperience, CPacketSetSlot, CPacketShopProperties, CPacketShopProperty, CPacketSignEditorOpen, CPacketSoundEffect, CPacketSpawnEntity, CPacketSpawnExperienceOrb, CPacketSpawnPlayer, CPacketTabComplete, CPacketTimeUpdate, CPacketTitle, CPacketUpdate, CPacketUpdateCommandBlock, CPacketUpdateHealth, CPacketUpdateLeaderboard, CPacketUpdateScoreboard, CPacketUpdateSign, CPacketUpdateStatus, CPacketUseBed, CPacketWindowItems, CPacketWindowProperty, ClientBoundCombined, ClientBoundCombined_CPacket, DemotePlayer, Equipment, Equipment_Slot, ID_TO_NAME, ID_TO_PACKET, KickPlayer, NAME_TO_ID, PBAction, PBBlockPos, PBCell, PBCosmetics, PBEnumFacing, PBFloatVector3, PBItemStack, PBModifier, PBSnapshot, PBTileEntity, PBVector3, PBWatchableObject, PlayerData, PlayerPermissionEntry, PromotePlayer, SPACKET_MAP, SPacketAdminAction, SPacketAnalytics, SPacketBreakBlock, SPacketClick, SPacketClickWindow, SPacketCloseWindow, SPacketConfirmTransaction, SPacketCraftItem, SPacketEnchantItem, SPacketEntityAction, SPacketHeldItemChange, SPacketLoginStart, SPacketMessage, SPacketOpenShop, SPacketPing, SPacketPlaceBlock, SPacketPlayerAbilities, SPacketPlayerAction, SPacketPlayerInput, SPacketPlayerPosLook, SPacketQueueNext, SPacketRequestChunk, SPacketRespawn, SPacketTabComplete, SPacketUpdateCommandBlock, SPacketUpdateInventory, SPacketUpdateSign, SPacketUseEntity, SPacketUseEntity_Action, SPacketUseItem, ScoreboardContent, StopServer, UnbanPlayer, UpdateAccessControl, UpdateCheats, UpdateCommandBlock, UpdatePvP, Vector3 };