@miniblox/protocol 3.43.29-0.0.1 → 3.44.11-0.0.0

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/dist/index.d.mts CHANGED
@@ -222,6 +222,10 @@ declare class CPacketChunkData extends Message<CPacketChunkData> {
222
222
  * @generated from field: repeated uint32 biomes = 6;
223
223
  */
224
224
  biomes: number[];
225
+ /**
226
+ * @generated from field: string hash = 7;
227
+ */
228
+ hash: string;
225
229
  constructor(data?: PartialMessage<CPacketChunkData>);
226
230
  static readonly runtime: typeof proto3;
227
231
  static readonly typeName = "CPacketChunkData";
@@ -231,6 +235,31 @@ declare class CPacketChunkData extends Message<CPacketChunkData> {
231
235
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CPacketChunkData;
232
236
  static equals(a: CPacketChunkData | PlainMessage<CPacketChunkData> | undefined, b: CPacketChunkData | PlainMessage<CPacketChunkData> | undefined): boolean;
233
237
  }
238
+ /**
239
+ * @generated from message CPacketChunkUnchanged
240
+ */
241
+ declare class CPacketChunkUnchanged extends Message<CPacketChunkUnchanged> {
242
+ /**
243
+ * @generated from field: sint32 x = 1;
244
+ */
245
+ x: number;
246
+ /**
247
+ * @generated from field: sint32 z = 2;
248
+ */
249
+ z: number;
250
+ /**
251
+ * @generated from field: int32 dimension = 3;
252
+ */
253
+ dimension: number;
254
+ constructor(data?: PartialMessage<CPacketChunkUnchanged>);
255
+ static readonly runtime: typeof proto3;
256
+ static readonly typeName = "CPacketChunkUnchanged";
257
+ static readonly fields: FieldList;
258
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CPacketChunkUnchanged;
259
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CPacketChunkUnchanged;
260
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CPacketChunkUnchanged;
261
+ static equals(a: CPacketChunkUnchanged | PlainMessage<CPacketChunkUnchanged> | undefined, b: CPacketChunkUnchanged | PlainMessage<CPacketChunkUnchanged> | undefined): boolean;
262
+ }
234
263
  //#endregion
235
264
  //#region gen/protocol2_pb.d.ts
236
265
  /**
@@ -2369,6 +2398,27 @@ declare class CPacketPlotsData extends Message<CPacketPlotsData> {
2369
2398
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CPacketPlotsData;
2370
2399
  static equals(a: CPacketPlotsData | PlainMessage<CPacketPlotsData> | undefined, b: CPacketPlotsData | PlainMessage<CPacketPlotsData> | undefined): boolean;
2371
2400
  }
2401
+ /**
2402
+ * @generated from message CPacketUpdatePlayerHead
2403
+ */
2404
+ declare class CPacketUpdatePlayerHead extends Message<CPacketUpdatePlayerHead> {
2405
+ /**
2406
+ * @generated from field: required PBBlockPos pos = 1;
2407
+ */
2408
+ pos?: PBBlockPos;
2409
+ /**
2410
+ * @generated from field: required string owner = 2;
2411
+ */
2412
+ owner?: string;
2413
+ constructor(data?: PartialMessage<CPacketUpdatePlayerHead>);
2414
+ static readonly runtime: typeof proto2;
2415
+ static readonly typeName = "CPacketUpdatePlayerHead";
2416
+ static readonly fields: FieldList;
2417
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CPacketUpdatePlayerHead;
2418
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CPacketUpdatePlayerHead;
2419
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CPacketUpdatePlayerHead;
2420
+ static equals(a: CPacketUpdatePlayerHead | PlainMessage<CPacketUpdatePlayerHead> | undefined, b: CPacketUpdatePlayerHead | PlainMessage<CPacketUpdatePlayerHead> | undefined): boolean;
2421
+ }
2372
2422
  /**
2373
2423
  * @generated from message ClientBoundCombined
2374
2424
  */
@@ -2759,6 +2809,18 @@ declare class ClientBoundCombined_CPacket extends Message<ClientBoundCombined_CP
2759
2809
  */
2760
2810
  value: CPacketPlotsData;
2761
2811
  case: "CPacketPlotsData";
2812
+ } | {
2813
+ /**
2814
+ * @generated from field: CPacketUpdatePlayerHead CPacketUpdatePlayerHead = 62;
2815
+ */
2816
+ value: CPacketUpdatePlayerHead;
2817
+ case: "CPacketUpdatePlayerHead";
2818
+ } | {
2819
+ /**
2820
+ * @generated from field: CPacketChunkUnchanged CPacketChunkUnchanged = 63;
2821
+ */
2822
+ value: CPacketChunkUnchanged;
2823
+ case: "CPacketChunkUnchanged";
2762
2824
  } | {
2763
2825
  case: undefined;
2764
2826
  value?: undefined;
@@ -3183,13 +3245,13 @@ declare class SPacketEntityAction extends Message<SPacketEntityAction> {
3183
3245
  */
3184
3246
  punching?: boolean;
3185
3247
  /**
3186
- * @generated from field: optional float KawctgZbnn = 5;
3248
+ * @generated from field: optional float LAeRWzaOTR = 5;
3187
3249
  */
3188
- KawctgZbnn?: number;
3250
+ LAeRWzaOTR?: number;
3189
3251
  /**
3190
- * @generated from field: optional float WuJlUXrsNF = 6;
3252
+ * @generated from field: optional float olctlxWOUgo = 6;
3191
3253
  */
3192
- WuJlUXrsNF?: number;
3254
+ olctlxWOUgo?: number;
3193
3255
  /**
3194
3256
  * @generated from field: optional int32 fire = 20;
3195
3257
  */
@@ -3703,6 +3765,10 @@ declare class SPacketRequestChunk extends Message<SPacketRequestChunk> {
3703
3765
  * @generated from field: required int32 z = 2;
3704
3766
  */
3705
3767
  z?: number;
3768
+ /**
3769
+ * @generated from field: optional string cachedHash = 3;
3770
+ */
3771
+ cachedHash?: string;
3706
3772
  constructor(data?: PartialMessage<SPacketRequestChunk>);
3707
3773
  static readonly runtime: typeof proto2;
3708
3774
  static readonly typeName = "SPacketRequestChunk";
@@ -3831,6 +3897,27 @@ declare class ScriptGetLogs extends Message<ScriptGetLogs> {
3831
3897
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScriptGetLogs;
3832
3898
  static equals(a: ScriptGetLogs | PlainMessage<ScriptGetLogs> | undefined, b: ScriptGetLogs | PlainMessage<ScriptGetLogs> | undefined): boolean;
3833
3899
  }
3900
+ /**
3901
+ * @generated from message ScriptRename
3902
+ */
3903
+ declare class ScriptRename extends Message<ScriptRename> {
3904
+ /**
3905
+ * @generated from field: required string name = 1;
3906
+ */
3907
+ name?: string;
3908
+ /**
3909
+ * @generated from field: required string new_name = 2;
3910
+ */
3911
+ newName?: string;
3912
+ constructor(data?: PartialMessage<ScriptRename>);
3913
+ static readonly runtime: typeof proto2;
3914
+ static readonly typeName = "ScriptRename";
3915
+ static readonly fields: FieldList;
3916
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScriptRename;
3917
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScriptRename;
3918
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScriptRename;
3919
+ static equals(a: ScriptRename | PlainMessage<ScriptRename> | undefined, b: ScriptRename | PlainMessage<ScriptRename> | undefined): boolean;
3920
+ }
3834
3921
  /**
3835
3922
  * @generated from message SPacketScriptAction
3836
3923
  */
@@ -3868,6 +3955,12 @@ declare class SPacketScriptAction extends Message<SPacketScriptAction> {
3868
3955
  */
3869
3956
  value: ScriptGetLogs;
3870
3957
  case: "getLogs";
3958
+ } | {
3959
+ /**
3960
+ * @generated from field: ScriptRename rename = 6;
3961
+ */
3962
+ value: ScriptRename;
3963
+ case: "rename";
3871
3964
  } | {
3872
3965
  case: undefined;
3873
3966
  value?: undefined;
@@ -3964,6 +4057,8 @@ declare const CPACKET_MAP: {
3964
4057
  readonly CPacketScriptData: typeof CPacketScriptData;
3965
4058
  readonly CPacketScriptLog: typeof CPacketScriptLog;
3966
4059
  readonly CPacketPlotsData: typeof CPacketPlotsData;
4060
+ readonly CPacketUpdatePlayerHead: typeof CPacketUpdatePlayerHead;
4061
+ readonly CPacketChunkUnchanged: typeof CPacketChunkUnchanged;
3967
4062
  };
3968
4063
  declare const SPACKET_MAP: {
3969
4064
  readonly SPacketAdminAction: typeof SPacketAdminAction;
@@ -4008,6 +4103,8 @@ declare const APPENDED_PACKETS: {
4008
4103
  SPacketScriptAction: typeof SPacketScriptAction;
4009
4104
  CPacketPlotsData: typeof CPacketPlotsData;
4010
4105
  SPacketPlotsAction: typeof SPacketPlotsAction;
4106
+ CPacketUpdatePlayerHead: typeof CPacketUpdatePlayerHead;
4107
+ CPacketChunkUnchanged: typeof CPacketChunkUnchanged;
4011
4108
  };
4012
4109
  //#endregion
4013
- export { APPENDED_PACKETS, 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, CPacketPlotsData, CPacketPong, CPacketQueueNext, CPacketRemoveEntityEffect, CPacketRespawn, CPacketScoreboard, CPacketScriptData, CPacketScriptLog, 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, PBScriptEntry, PBScriptLogEntry, 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, SPacketPlotsAction, SPacketQueueNext, SPacketRequestChunk, SPacketRespawn, SPacketScriptAction, SPacketTabComplete, SPacketUpdateCommandBlock, SPacketUpdateInventory, SPacketUpdateSign, SPacketUseEntity, SPacketUseEntity_Action, SPacketUseItem, ScoreboardContent, ScriptDelete, ScriptGetLogs, ScriptList, ScriptSave, ScriptSetEnabled, StopServer, UnbanPlayer, UpdateAccessControl, UpdateCheats, UpdateCommandBlock, UpdatePvP, UpdateScripting, Vector3 };
4110
+ export { APPENDED_PACKETS, BanPlayer, CPACKET_MAP, CPacketAnimation, CPacketBlockAction, CPacketBlockUpdate, CPacketChangeServers, CPacketChunkData, CPacketChunkUnchanged, 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, CPacketPlotsData, CPacketPong, CPacketQueueNext, CPacketRemoveEntityEffect, CPacketRespawn, CPacketScoreboard, CPacketScriptData, CPacketScriptLog, CPacketServerInfo, CPacketServerMetadata, CPacketSetExperience, CPacketSetSlot, CPacketShopProperties, CPacketShopProperty, CPacketSignEditorOpen, CPacketSoundEffect, CPacketSpawnEntity, CPacketSpawnExperienceOrb, CPacketSpawnPlayer, CPacketTabComplete, CPacketTimeUpdate, CPacketTitle, CPacketUpdate, CPacketUpdateCommandBlock, CPacketUpdateHealth, CPacketUpdateLeaderboard, CPacketUpdatePlayerHead, 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, PBScriptEntry, PBScriptLogEntry, 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, SPacketPlotsAction, SPacketQueueNext, SPacketRequestChunk, SPacketRespawn, SPacketScriptAction, SPacketTabComplete, SPacketUpdateCommandBlock, SPacketUpdateInventory, SPacketUpdateSign, SPacketUseEntity, SPacketUseEntity_Action, SPacketUseItem, ScoreboardContent, ScriptDelete, ScriptGetLogs, ScriptList, ScriptRename, ScriptSave, ScriptSetEnabled, StopServer, UnbanPlayer, UpdateAccessControl, UpdateCheats, UpdateCommandBlock, UpdatePvP, UpdateScripting, Vector3 };
package/dist/index.mjs CHANGED
@@ -419,6 +419,10 @@ var CPacketChunkData = class CPacketChunkData extends Message {
419
419
  * @generated from field: repeated uint32 biomes = 6;
420
420
  */
421
421
  biomes = [];
422
+ /**
423
+ * @generated from field: string hash = 7;
424
+ */
425
+ hash = "";
422
426
  constructor(data) {
423
427
  super();
424
428
  proto3.util.initPartial(data, this);
@@ -464,6 +468,12 @@ var CPacketChunkData = class CPacketChunkData extends Message {
464
468
  kind: "scalar",
465
469
  T: 13,
466
470
  repeated: true
471
+ },
472
+ {
473
+ no: 7,
474
+ name: "hash",
475
+ kind: "scalar",
476
+ T: 9
467
477
  }
468
478
  ]);
469
479
  static fromBinary(bytes, options) {
@@ -479,6 +489,61 @@ var CPacketChunkData = class CPacketChunkData extends Message {
479
489
  return proto3.util.equals(CPacketChunkData, a, b);
480
490
  }
481
491
  };
492
+ /**
493
+ * @generated from message CPacketChunkUnchanged
494
+ */
495
+ var CPacketChunkUnchanged = class CPacketChunkUnchanged extends Message {
496
+ /**
497
+ * @generated from field: sint32 x = 1;
498
+ */
499
+ x = 0;
500
+ /**
501
+ * @generated from field: sint32 z = 2;
502
+ */
503
+ z = 0;
504
+ /**
505
+ * @generated from field: int32 dimension = 3;
506
+ */
507
+ dimension = 0;
508
+ constructor(data) {
509
+ super();
510
+ proto3.util.initPartial(data, this);
511
+ }
512
+ static runtime = proto3;
513
+ static typeName = "CPacketChunkUnchanged";
514
+ static fields = proto3.util.newFieldList(() => [
515
+ {
516
+ no: 1,
517
+ name: "x",
518
+ kind: "scalar",
519
+ T: 17
520
+ },
521
+ {
522
+ no: 2,
523
+ name: "z",
524
+ kind: "scalar",
525
+ T: 17
526
+ },
527
+ {
528
+ no: 3,
529
+ name: "dimension",
530
+ kind: "scalar",
531
+ T: 5
532
+ }
533
+ ]);
534
+ static fromBinary(bytes, options) {
535
+ return new CPacketChunkUnchanged().fromBinary(bytes, options);
536
+ }
537
+ static fromJson(jsonValue, options) {
538
+ return new CPacketChunkUnchanged().fromJson(jsonValue, options);
539
+ }
540
+ static fromJsonString(jsonString, options) {
541
+ return new CPacketChunkUnchanged().fromJsonString(jsonString, options);
542
+ }
543
+ static equals(a, b) {
544
+ return proto3.util.equals(CPacketChunkUnchanged, a, b);
545
+ }
546
+ };
482
547
  //#endregion
483
548
  //#region gen/protocol2_pb.ts
484
549
  /**
@@ -5459,6 +5524,50 @@ var CPacketPlotsData = class CPacketPlotsData extends Message {
5459
5524
  }
5460
5525
  };
5461
5526
  /**
5527
+ * @generated from message CPacketUpdatePlayerHead
5528
+ */
5529
+ var CPacketUpdatePlayerHead = class CPacketUpdatePlayerHead extends Message {
5530
+ /**
5531
+ * @generated from field: required PBBlockPos pos = 1;
5532
+ */
5533
+ pos;
5534
+ /**
5535
+ * @generated from field: required string owner = 2;
5536
+ */
5537
+ owner;
5538
+ constructor(data) {
5539
+ super();
5540
+ proto2.util.initPartial(data, this);
5541
+ }
5542
+ static runtime = proto2;
5543
+ static typeName = "CPacketUpdatePlayerHead";
5544
+ static fields = proto2.util.newFieldList(() => [{
5545
+ no: 1,
5546
+ name: "pos",
5547
+ kind: "message",
5548
+ T: PBBlockPos,
5549
+ req: true
5550
+ }, {
5551
+ no: 2,
5552
+ name: "owner",
5553
+ kind: "scalar",
5554
+ T: 9,
5555
+ req: true
5556
+ }]);
5557
+ static fromBinary(bytes, options) {
5558
+ return new CPacketUpdatePlayerHead().fromBinary(bytes, options);
5559
+ }
5560
+ static fromJson(jsonValue, options) {
5561
+ return new CPacketUpdatePlayerHead().fromJson(jsonValue, options);
5562
+ }
5563
+ static fromJsonString(jsonString, options) {
5564
+ return new CPacketUpdatePlayerHead().fromJsonString(jsonString, options);
5565
+ }
5566
+ static equals(a, b) {
5567
+ return proto2.util.equals(CPacketUpdatePlayerHead, a, b);
5568
+ }
5569
+ };
5570
+ /**
5462
5571
  * @generated from message ClientBoundCombined
5463
5572
  */
5464
5573
  var ClientBoundCombined = class ClientBoundCombined extends Message {
@@ -5933,6 +6042,20 @@ var ClientBoundCombined_CPacket = class ClientBoundCombined_CPacket extends Mess
5933
6042
  kind: "message",
5934
6043
  T: CPacketPlotsData,
5935
6044
  oneof: "packet"
6045
+ },
6046
+ {
6047
+ no: 62,
6048
+ name: "CPacketUpdatePlayerHead",
6049
+ kind: "message",
6050
+ T: CPacketUpdatePlayerHead,
6051
+ oneof: "packet"
6052
+ },
6053
+ {
6054
+ no: 63,
6055
+ name: "CPacketChunkUnchanged",
6056
+ kind: "message",
6057
+ T: CPacketChunkUnchanged,
6058
+ oneof: "packet"
5936
6059
  }
5937
6060
  ]);
5938
6061
  static fromBinary(bytes, options) {
@@ -6710,13 +6833,13 @@ var SPacketEntityAction = class SPacketEntityAction extends Message {
6710
6833
  */
6711
6834
  punching;
6712
6835
  /**
6713
- * @generated from field: optional float KawctgZbnn = 5;
6836
+ * @generated from field: optional float LAeRWzaOTR = 5;
6714
6837
  */
6715
- KawctgZbnn;
6838
+ LAeRWzaOTR;
6716
6839
  /**
6717
- * @generated from field: optional float WuJlUXrsNF = 6;
6840
+ * @generated from field: optional float olctlxWOUgo = 6;
6718
6841
  */
6719
- WuJlUXrsNF;
6842
+ olctlxWOUgo;
6720
6843
  /**
6721
6844
  * @generated from field: optional int32 fire = 20;
6722
6845
  */
@@ -6762,14 +6885,14 @@ var SPacketEntityAction = class SPacketEntityAction extends Message {
6762
6885
  },
6763
6886
  {
6764
6887
  no: 5,
6765
- name: "KawctgZbnn",
6888
+ name: "LAeRWzaOTR",
6766
6889
  kind: "scalar",
6767
6890
  T: 2,
6768
6891
  opt: true
6769
6892
  },
6770
6893
  {
6771
6894
  no: 6,
6772
- name: "WuJlUXrsNF",
6895
+ name: "olctlxWOUgo",
6773
6896
  kind: "scalar",
6774
6897
  T: 2,
6775
6898
  opt: true
@@ -7907,25 +8030,39 @@ var SPacketRequestChunk = class SPacketRequestChunk extends Message {
7907
8030
  * @generated from field: required int32 z = 2;
7908
8031
  */
7909
8032
  z;
8033
+ /**
8034
+ * @generated from field: optional string cachedHash = 3;
8035
+ */
8036
+ cachedHash;
7910
8037
  constructor(data) {
7911
8038
  super();
7912
8039
  proto2.util.initPartial(data, this);
7913
8040
  }
7914
8041
  static runtime = proto2;
7915
8042
  static typeName = "SPacketRequestChunk";
7916
- static fields = proto2.util.newFieldList(() => [{
7917
- no: 1,
7918
- name: "x",
7919
- kind: "scalar",
7920
- T: 5,
7921
- req: true
7922
- }, {
7923
- no: 2,
7924
- name: "z",
7925
- kind: "scalar",
7926
- T: 5,
7927
- req: true
7928
- }]);
8043
+ static fields = proto2.util.newFieldList(() => [
8044
+ {
8045
+ no: 1,
8046
+ name: "x",
8047
+ kind: "scalar",
8048
+ T: 5,
8049
+ req: true
8050
+ },
8051
+ {
8052
+ no: 2,
8053
+ name: "z",
8054
+ kind: "scalar",
8055
+ T: 5,
8056
+ req: true
8057
+ },
8058
+ {
8059
+ no: 3,
8060
+ name: "cachedHash",
8061
+ kind: "scalar",
8062
+ T: 9,
8063
+ opt: true
8064
+ }
8065
+ ]);
7929
8066
  static fromBinary(bytes, options) {
7930
8067
  return new SPacketRequestChunk().fromBinary(bytes, options);
7931
8068
  }
@@ -8182,6 +8319,50 @@ var ScriptGetLogs = class ScriptGetLogs extends Message {
8182
8319
  }
8183
8320
  };
8184
8321
  /**
8322
+ * @generated from message ScriptRename
8323
+ */
8324
+ var ScriptRename = class ScriptRename extends Message {
8325
+ /**
8326
+ * @generated from field: required string name = 1;
8327
+ */
8328
+ name;
8329
+ /**
8330
+ * @generated from field: required string new_name = 2;
8331
+ */
8332
+ newName;
8333
+ constructor(data) {
8334
+ super();
8335
+ proto2.util.initPartial(data, this);
8336
+ }
8337
+ static runtime = proto2;
8338
+ static typeName = "ScriptRename";
8339
+ static fields = proto2.util.newFieldList(() => [{
8340
+ no: 1,
8341
+ name: "name",
8342
+ kind: "scalar",
8343
+ T: 9,
8344
+ req: true
8345
+ }, {
8346
+ no: 2,
8347
+ name: "new_name",
8348
+ kind: "scalar",
8349
+ T: 9,
8350
+ req: true
8351
+ }]);
8352
+ static fromBinary(bytes, options) {
8353
+ return new ScriptRename().fromBinary(bytes, options);
8354
+ }
8355
+ static fromJson(jsonValue, options) {
8356
+ return new ScriptRename().fromJson(jsonValue, options);
8357
+ }
8358
+ static fromJsonString(jsonString, options) {
8359
+ return new ScriptRename().fromJsonString(jsonString, options);
8360
+ }
8361
+ static equals(a, b) {
8362
+ return proto2.util.equals(ScriptRename, a, b);
8363
+ }
8364
+ };
8365
+ /**
8185
8366
  * @generated from message SPacketScriptAction
8186
8367
  */
8187
8368
  var SPacketScriptAction = class SPacketScriptAction extends Message {
@@ -8230,6 +8411,13 @@ var SPacketScriptAction = class SPacketScriptAction extends Message {
8230
8411
  kind: "message",
8231
8412
  T: ScriptGetLogs,
8232
8413
  oneof: "action"
8414
+ },
8415
+ {
8416
+ no: 6,
8417
+ name: "rename",
8418
+ kind: "message",
8419
+ T: ScriptRename,
8420
+ oneof: "action"
8233
8421
  }
8234
8422
  ]);
8235
8423
  static fromBinary(bytes, options) {
@@ -8344,7 +8532,9 @@ const CPACKET_MAP = {
8344
8532
  ClientBoundCombined,
8345
8533
  CPacketScriptData,
8346
8534
  CPacketScriptLog,
8347
- CPacketPlotsData
8535
+ CPacketPlotsData,
8536
+ CPacketUpdatePlayerHead,
8537
+ CPacketChunkUnchanged
8348
8538
  };
8349
8539
  const SPACKET_MAP = {
8350
8540
  SPacketAdminAction,
@@ -8387,7 +8577,9 @@ const APPENDED_PACKETS = {
8387
8577
  CPacketScriptLog,
8388
8578
  SPacketScriptAction,
8389
8579
  CPacketPlotsData,
8390
- SPacketPlotsAction
8580
+ SPacketPlotsAction,
8581
+ CPacketUpdatePlayerHead,
8582
+ CPacketChunkUnchanged
8391
8583
  };
8392
8584
  let currentId = 0;
8393
8585
  function assignPacketId(name, packet) {
@@ -8403,4 +8595,4 @@ for (const [i, v] of fixedEntries(CPACKET_MAP)) if (!(i in APPENDED_PACKETS)) as
8403
8595
  for (const [i, v] of fixedEntries(SPACKET_MAP)) if (!(i in APPENDED_PACKETS)) assignPacketId(i, v);
8404
8596
  for (const [i, v] of fixedEntries(APPENDED_PACKETS)) assignPacketId(i, v);
8405
8597
  //#endregion
8406
- export { APPENDED_PACKETS, 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, CPacketPlotsData, CPacketPong, CPacketQueueNext, CPacketRemoveEntityEffect, CPacketRespawn, CPacketScoreboard, CPacketScriptData, CPacketScriptLog, 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, PBScriptEntry, PBScriptLogEntry, 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, SPacketPlotsAction, SPacketQueueNext, SPacketRequestChunk, SPacketRespawn, SPacketScriptAction, SPacketTabComplete, SPacketUpdateCommandBlock, SPacketUpdateInventory, SPacketUpdateSign, SPacketUseEntity, SPacketUseEntity_Action, SPacketUseItem, ScoreboardContent, ScriptDelete, ScriptGetLogs, ScriptList, ScriptSave, ScriptSetEnabled, StopServer, UnbanPlayer, UpdateAccessControl, UpdateCheats, UpdateCommandBlock, UpdatePvP, UpdateScripting, Vector3 };
8598
+ export { APPENDED_PACKETS, BanPlayer, CPACKET_MAP, CPacketAnimation, CPacketBlockAction, CPacketBlockUpdate, CPacketChangeServers, CPacketChunkData, CPacketChunkUnchanged, 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, CPacketPlotsData, CPacketPong, CPacketQueueNext, CPacketRemoveEntityEffect, CPacketRespawn, CPacketScoreboard, CPacketScriptData, CPacketScriptLog, CPacketServerInfo, CPacketServerMetadata, CPacketSetExperience, CPacketSetSlot, CPacketShopProperties, CPacketShopProperty, CPacketSignEditorOpen, CPacketSoundEffect, CPacketSpawnEntity, CPacketSpawnExperienceOrb, CPacketSpawnPlayer, CPacketTabComplete, CPacketTimeUpdate, CPacketTitle, CPacketUpdate, CPacketUpdateCommandBlock, CPacketUpdateHealth, CPacketUpdateLeaderboard, CPacketUpdatePlayerHead, 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, PBScriptEntry, PBScriptLogEntry, 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, SPacketPlotsAction, SPacketQueueNext, SPacketRequestChunk, SPacketRespawn, SPacketScriptAction, SPacketTabComplete, SPacketUpdateCommandBlock, SPacketUpdateInventory, SPacketUpdateSign, SPacketUseEntity, SPacketUseEntity_Action, SPacketUseItem, ScoreboardContent, ScriptDelete, ScriptGetLogs, ScriptList, ScriptRename, ScriptSave, ScriptSetEnabled, StopServer, UnbanPlayer, UpdateAccessControl, UpdateCheats, UpdateCommandBlock, UpdatePvP, UpdateScripting, Vector3 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miniblox/protocol",
3
- "version": "3.43.29-0.0.1",
3
+ "version": "3.44.11-0.0.0",
4
4
  "license": "AGPL-3.0-or-later",
5
5
  "main": "dist/index.mjs",
6
6
  "type": "module",