bedrock-portal 2.0.0 → 2.1.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.
@@ -5,7 +5,7 @@ exports.SessionConfig = {
5
5
  MinecraftTitleID: '896928775',
6
6
  MinecraftSCID: '4fc10100-5f7a-4470-899b-280835760c07',
7
7
  MinecraftTemplateName: 'MinecraftLobby',
8
- MiencraftProtocolVersion: 924,
8
+ MiencraftProtocolVersion: 944,
9
9
  };
10
10
  var Joinability;
11
11
  (function (Joinability) {
@@ -6,9 +6,9 @@ exports.start_game = {
6
6
  runtime_entity_id: '1',
7
7
  player_gamemode: 'fallback',
8
8
  player_position: {
9
- x: 0.5,
10
- y: 32769.62109375,
11
- z: 0.5,
9
+ x: 0,
10
+ y: 0,
11
+ z: 0,
12
12
  },
13
13
  rotation: {
14
14
  x: 0,
@@ -24,14 +24,14 @@ exports.start_game = {
24
24
  difficulty: 1,
25
25
  spawn_position: {
26
26
  x: 0,
27
- y: 32767,
27
+ y: 0,
28
28
  z: 0,
29
29
  },
30
30
  achievements_disabled: true,
31
31
  editor_world_type: 'not_editor',
32
32
  created_in_editor: false,
33
33
  exported_from_editor: false,
34
- day_cycle_stop_time: 16,
34
+ day_cycle_stop_time: 23,
35
35
  edu_offer: 0,
36
36
  edu_features_enabled: false,
37
37
  edu_product_uuid: '',
@@ -79,11 +79,11 @@ exports.start_game = {
79
79
  rewind_history_size: 40,
80
80
  server_authoritative_block_breaking: true,
81
81
  current_tick: [],
82
- enchantment_seed: 819671441,
82
+ enchantment_seed: 315714801,
83
83
  block_properties: [],
84
- multiplayer_correlation_id: '<raknet>94bd-eecc-2f56-479c',
84
+ multiplayer_correlation_id: '<raknet>b31f-884c-6f27-c0fb',
85
85
  server_authoritative_inventory: true,
86
- engine: '1.26.0',
86
+ engine: '1.26.10',
87
87
  property_data: {
88
88
  type: 'compound',
89
89
  name: '',
package/dist/index.d.ts CHANGED
@@ -136,7 +136,9 @@ export declare class BedrockPortal extends TypedEmitter<PortalEvents> {
136
136
  peers: Map<string, Host>;
137
137
  modules: Map<string, Module>;
138
138
  server: Server;
139
- constructor(options?: Partial<BedrockPortalOptions>);
139
+ constructor(options?: Partial<Omit<BedrockPortalOptions, 'world'> & {
140
+ world?: Partial<BedrockPortalOptions['world']>;
141
+ }>);
140
142
  validateOptions(options: BedrockPortalOptions): void;
141
143
  /**
142
144
  * Starts the BedrockPortal instance.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bedrock-portal",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "Creates a joinable session in Minecraft Bedrock Edition that can route players to their a specified host",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",