bedrock-portal-nethernet 2.0.1 → 2.0.3

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/options.d.ts CHANGED
@@ -9,7 +9,7 @@ export type Options = {
9
9
  compressionThreshold: number;
10
10
  protocolVersion: number;
11
11
  };
12
- export declare const CURRENT_VERSION = "1.21.70";
12
+ export declare const CURRENT_VERSION = "1.21.80";
13
13
  export declare const defaultOptions: {
14
14
  version: string;
15
15
  autoInitPlayer: boolean;
package/dist/options.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultOptions = exports.CURRENT_VERSION = void 0;
4
4
  const framer_1 = require("./transforms/framer");
5
5
  // Currently supported verson. Note, clients with newer versions can still connect as long as data is in minecraft-data
6
- exports.CURRENT_VERSION = '1.21.70';
6
+ exports.CURRENT_VERSION = '1.21.80';
7
7
  exports.defaultOptions = {
8
8
  // https://minecraft.wiki/w/Protocol_version#Bedrock_Edition_2
9
9
  version: exports.CURRENT_VERSION,
@@ -22,5 +22,5 @@ exports.defaultOptions = {
22
22
  // server: If true, only compress if a payload is larger than compressionThreshold
23
23
  compressionThreshold: 512,
24
24
  // server and client: The protocol version to use
25
- protocolVersion: 776,
25
+ protocolVersion: 800,
26
26
  };
@@ -431,6 +431,8 @@ declare const _default: {
431
431
  131: string;
432
432
  132: string;
433
433
  133: string;
434
+ 134: string;
435
+ 135: string;
434
436
  };
435
437
  })[];
436
438
  } | {
@@ -456,6 +458,8 @@ declare const _default: {
456
458
  fields: {
457
459
  flags: string;
458
460
  flags_extended: string;
461
+ seat_third_person_camera_radius: string;
462
+ seat_camera_relax_distance_smoothing: string;
459
463
  };
460
464
  default: (string | {
461
465
  compareTo: string;
@@ -2153,6 +2157,33 @@ declare const _default: {
2153
2157
  529: string;
2154
2158
  530: string;
2155
2159
  531: string;
2160
+ 532: string;
2161
+ 533: string;
2162
+ 534: string;
2163
+ 535: string;
2164
+ 536: string;
2165
+ 537: string;
2166
+ 538: string;
2167
+ 539: string;
2168
+ 540: string;
2169
+ 541: string;
2170
+ 542: string;
2171
+ 543: string;
2172
+ 544: string;
2173
+ 545: string;
2174
+ 546: string;
2175
+ 547: string;
2176
+ 548: string;
2177
+ 549: string;
2178
+ 550: string;
2179
+ 551: string;
2180
+ 552: string;
2181
+ 553: string;
2182
+ 554: string;
2183
+ 555: string;
2184
+ 556: string;
2185
+ 557: string;
2186
+ 558: string;
2156
2187
  };
2157
2188
  })[];
2158
2189
  LegacyEntityType: (string | {
@@ -2317,6 +2348,18 @@ declare const _default: {
2317
2348
  };
2318
2349
  })[])[];
2319
2350
  }[])[])[];
2351
+ } | {
2352
+ name: string;
2353
+ type: (string | (string | {
2354
+ type: string;
2355
+ mappings: {
2356
+ 0: string;
2357
+ 1: string;
2358
+ 2: string;
2359
+ 3: string;
2360
+ 4: string;
2361
+ };
2362
+ })[])[];
2320
2363
  })[])[];
2321
2364
  DisconnectFailReason: (string | {
2322
2365
  type: string;
@@ -2439,6 +2482,10 @@ declare const _default: {
2439
2482
  115: string;
2440
2483
  116: string;
2441
2484
  117: string;
2485
+ 118: string;
2486
+ 119: string;
2487
+ 120: string;
2488
+ 121: string;
2442
2489
  };
2443
2490
  })[];
2444
2491
  FullContainerName: (string | ({
@@ -2455,6 +2502,127 @@ declare const _default: {
2455
2502
  '-1': string;
2456
2503
  };
2457
2504
  })[];
2505
+ BiomeDefinition: (string | ({
2506
+ name: string;
2507
+ type: string;
2508
+ } | {
2509
+ name: string;
2510
+ type: (string | (string | {
2511
+ countType: string;
2512
+ type: string;
2513
+ })[])[];
2514
+ })[])[];
2515
+ BiomeChunkGeneration: (string | ({
2516
+ name: string;
2517
+ type: (string | (string | {
2518
+ countType: string;
2519
+ type: string;
2520
+ })[])[];
2521
+ } | {
2522
+ name: string;
2523
+ type: string;
2524
+ })[])[];
2525
+ BiomeClimate: (string | {
2526
+ name: string;
2527
+ type: string;
2528
+ }[])[];
2529
+ BiomeMountainParameters: (string | {
2530
+ name: string;
2531
+ type: string;
2532
+ }[])[];
2533
+ BiomeSurfaceMaterial: (string | {
2534
+ name: string;
2535
+ type: string;
2536
+ }[])[];
2537
+ BiomeMesaSurface: (string | {
2538
+ name: string;
2539
+ type: string;
2540
+ }[])[];
2541
+ BiomeCappedSurface: (string | {
2542
+ name: string;
2543
+ type: (string | {
2544
+ countType: string;
2545
+ type: string;
2546
+ })[];
2547
+ }[])[];
2548
+ BiomeMultiNoiseRules: (string | {
2549
+ name: string;
2550
+ type: string;
2551
+ }[])[];
2552
+ BiomeWeight: (string | {
2553
+ name: string;
2554
+ type: string;
2555
+ }[])[];
2556
+ BiomeTemperatureWeight: (string | {
2557
+ name: string;
2558
+ type: string;
2559
+ }[])[];
2560
+ BiomeConsolidatedFeature: (string | {
2561
+ name: string;
2562
+ type: string;
2563
+ }[])[];
2564
+ BiomeScatterParameter: (string | ({
2565
+ name: string;
2566
+ type: (string | {
2567
+ countType: string;
2568
+ type: string;
2569
+ })[];
2570
+ } | {
2571
+ name: string;
2572
+ type: (string | {
2573
+ type: string;
2574
+ mappings: {
2575
+ 0: string;
2576
+ 1: string;
2577
+ 2: string;
2578
+ 3: string;
2579
+ 4: string;
2580
+ 5: string;
2581
+ };
2582
+ })[];
2583
+ } | {
2584
+ name: string;
2585
+ type: string;
2586
+ })[])[];
2587
+ BiomeCoordinate: (string | ({
2588
+ name: string;
2589
+ type: string;
2590
+ } | {
2591
+ name: string;
2592
+ type: (string | {
2593
+ type: string;
2594
+ mappings: {
2595
+ 0: string;
2596
+ 1: string;
2597
+ 2: string;
2598
+ 3: string;
2599
+ 4: string;
2600
+ 5: string;
2601
+ 6: string;
2602
+ };
2603
+ })[];
2604
+ })[])[];
2605
+ BiomeElementData: (string | {
2606
+ name: string;
2607
+ type: string;
2608
+ }[])[];
2609
+ BiomeOverworldRules: (string | {
2610
+ name: string;
2611
+ type: (string | {
2612
+ countType: string;
2613
+ type: string;
2614
+ })[];
2615
+ }[])[];
2616
+ BiomeConditionalTransformation: (string | ({
2617
+ name: string;
2618
+ type: (string | {
2619
+ countType: string;
2620
+ type: string;
2621
+ })[];
2622
+ } | {
2623
+ name: string;
2624
+ type: string;
2625
+ })[])[];
2458
2626
  mcpe_packet: (string | ({
2459
2627
  name: string;
2460
2628
  type: (string | {
@@ -2604,6 +2772,7 @@ declare const _default: {
2604
2772
  147: string;
2605
2773
  148: string;
2606
2774
  149: string;
2775
+ 150: string;
2607
2776
  151: string;
2608
2777
  152: string;
2609
2778
  153: string;
@@ -2678,6 +2847,9 @@ declare const _default: {
2678
2847
  323: string;
2679
2848
  324: string;
2680
2849
  325: string;
2850
+ 326: string;
2851
+ 327: string;
2852
+ 328: string;
2681
2853
  };
2682
2854
  })[];
2683
2855
  } | {
@@ -2828,6 +3000,7 @@ declare const _default: {
2828
3000
  item_stack_request: string;
2829
3001
  item_stack_response: string;
2830
3002
  player_armor_damage: string;
3003
+ code_builder: string;
2831
3004
  update_player_game_type: string;
2832
3005
  emote_list: string;
2833
3006
  position_tracking_db_request: string;
@@ -2903,6 +3076,9 @@ declare const _default: {
2903
3076
  update_client_options: string;
2904
3077
  player_video_capture: string;
2905
3078
  player_update_entity_overrides: string;
3079
+ player_location: string;
3080
+ clientbound_controls_scheme: string;
3081
+ server_script_debug_drawer: string;
2906
3082
  };
2907
3083
  })[];
2908
3084
  })[])[];
@@ -3107,6 +3283,17 @@ declare const _default: {
3107
3283
  2: string;
3108
3284
  };
3109
3285
  })[];
3286
+ } | {
3287
+ name: string;
3288
+ type: (string | {
3289
+ type: string;
3290
+ mappings: {
3291
+ 0: string;
3292
+ 1: string;
3293
+ 2: string;
3294
+ 3: string;
3295
+ };
3296
+ })[];
3110
3297
  })[])[];
3111
3298
  packet_add_player: (string | ({
3112
3299
  name: string;
@@ -4632,7 +4819,10 @@ declare const _default: {
4632
4819
  })[])[];
4633
4820
  packet_biome_definition_list: (string | {
4634
4821
  name: string;
4635
- type: string;
4822
+ type: (string | {
4823
+ countType: string;
4824
+ type: string;
4825
+ })[];
4636
4826
  }[])[];
4637
4827
  packet_level_sound_event: (string | {
4638
4828
  name: string;
@@ -5017,6 +5207,10 @@ declare const _default: {
5017
5207
  body: number;
5018
5208
  };
5019
5209
  })[];
5210
+ packet_code_builder: (string | {
5211
+ name: string;
5212
+ type: string;
5213
+ }[])[];
5020
5214
  packet_update_player_game_type: (string | {
5021
5215
  name: string;
5022
5216
  type: string;
@@ -5241,6 +5435,16 @@ declare const _default: {
5241
5435
  name: string;
5242
5436
  type: string;
5243
5437
  }[])[];
5438
+ HeightMapDataType: (string | {
5439
+ type: string;
5440
+ mappings: {
5441
+ 0: string;
5442
+ 1: string;
5443
+ 2: string;
5444
+ 3: string;
5445
+ 4: string;
5446
+ };
5447
+ })[];
5244
5448
  SubChunkEntryWithoutCaching: (string | {
5245
5449
  countType: string;
5246
5450
  type: (string | ({
@@ -5260,17 +5464,6 @@ declare const _default: {
5260
5464
  6: string;
5261
5465
  };
5262
5466
  })[];
5263
- } | {
5264
- name: string;
5265
- type: (string | {
5266
- type: string;
5267
- mappings: {
5268
- 0: string;
5269
- 1: string;
5270
- 2: string;
5271
- 3: string;
5272
- };
5273
- })[];
5274
5467
  } | {
5275
5468
  name: string;
5276
5469
  type: (string | {
@@ -5311,17 +5504,6 @@ declare const _default: {
5311
5504
  };
5312
5505
  default: string;
5313
5506
  })[];
5314
- } | {
5315
- name: string;
5316
- type: (string | {
5317
- type: string;
5318
- mappings: {
5319
- 0: string;
5320
- 1: string;
5321
- 2: string;
5322
- 3: string;
5323
- };
5324
- })[];
5325
5507
  } | {
5326
5508
  name: string;
5327
5509
  type: (string | {
@@ -5975,6 +6157,63 @@ declare const _default: {
5975
6157
  };
5976
6158
  })[];
5977
6159
  })[])[];
6160
+ packet_player_location: (string | ({
6161
+ name: string;
6162
+ type: (string | {
6163
+ type: string;
6164
+ mappings: {
6165
+ 0: string;
6166
+ 1: string;
6167
+ };
6168
+ })[];
6169
+ } | {
6170
+ name: string;
6171
+ type: string;
6172
+ } | {
6173
+ name: string;
6174
+ type: (string | {
6175
+ compareTo: string;
6176
+ fields: {
6177
+ coordinates: string;
6178
+ };
6179
+ })[];
6180
+ })[])[];
6181
+ packet_clientbound_controls_scheme: (string | {
6182
+ name: string;
6183
+ type: (string | {
6184
+ type: string;
6185
+ mappings: {
6186
+ 0: string;
6187
+ 1: string;
6188
+ 2: string;
6189
+ 3: string;
6190
+ 4: string;
6191
+ };
6192
+ })[];
6193
+ }[])[];
6194
+ packet_server_script_debug_drawer: (string | {
6195
+ name: string;
6196
+ type: (string | {
6197
+ countType: string;
6198
+ type: (string | ({
6199
+ name: string;
6200
+ type: string;
6201
+ } | {
6202
+ name: string;
6203
+ type: (string | (string | {
6204
+ type: string;
6205
+ mappings: {
6206
+ 0: string;
6207
+ 1: string;
6208
+ 2: string;
6209
+ 3: string;
6210
+ 4: string;
6211
+ 5: string;
6212
+ };
6213
+ })[])[];
6214
+ })[])[];
6215
+ })[];
6216
+ }[])[];
5978
6217
  };
5979
6218
  };
5980
6219
  export default _default;