bedrock-portal 2.1.0 → 2.2.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/common/constants.js
CHANGED
|
@@ -5,7 +5,7 @@ exports.SessionConfig = {
|
|
|
5
5
|
MinecraftTitleID: '896928775',
|
|
6
6
|
MinecraftSCID: '4fc10100-5f7a-4470-899b-280835760c07',
|
|
7
7
|
MinecraftTemplateName: 'MinecraftLobby',
|
|
8
|
-
|
|
8
|
+
MinecraftProtocolVersion: 975,
|
|
9
9
|
};
|
|
10
10
|
var Joinability;
|
|
11
11
|
(function (Joinability) {
|
|
@@ -61,7 +61,7 @@ exports.start_game = {
|
|
|
61
61
|
persona_disabled: false,
|
|
62
62
|
custom_skins_disabled: false,
|
|
63
63
|
emote_chat_muted: false,
|
|
64
|
-
game_version: '
|
|
64
|
+
game_version: '1.26.20',
|
|
65
65
|
limited_world_width: 16,
|
|
66
66
|
limited_world_length: 16,
|
|
67
67
|
is_new_nether: false,
|
|
@@ -83,7 +83,7 @@ exports.start_game = {
|
|
|
83
83
|
block_properties: [],
|
|
84
84
|
multiplayer_correlation_id: '<raknet>b31f-884c-6f27-c0fb',
|
|
85
85
|
server_authoritative_inventory: true,
|
|
86
|
-
engine: '1.26.
|
|
86
|
+
engine: '1.26.20',
|
|
87
87
|
property_data: {
|
|
88
88
|
type: 'compound',
|
|
89
89
|
name: '',
|
package/dist/index.js
CHANGED
|
@@ -210,8 +210,14 @@ class BedrockPortal extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
210
210
|
has_editor_packs: false,
|
|
211
211
|
});
|
|
212
212
|
client.once('resource_pack_client_response', () => {
|
|
213
|
+
client.write('voxel_shapes', {
|
|
214
|
+
shapes: [],
|
|
215
|
+
name_map: [],
|
|
216
|
+
custom_shape_count: 0,
|
|
217
|
+
});
|
|
213
218
|
client.write('start_game', start_game_1.start_game);
|
|
214
|
-
client.
|
|
219
|
+
client.write('play_status', { status: 'player_spawn' });
|
|
220
|
+
client.once('set_local_player_as_initialized', () => {
|
|
215
221
|
client.write('transfer', { server_address: this.options.ip, port: this.options.port });
|
|
216
222
|
});
|
|
217
223
|
});
|
|
@@ -290,7 +296,7 @@ class BedrockPortal extends tiny_typed_emitter_1.TypedEmitter {
|
|
|
290
296
|
ownerId: this.host.profile.xuid,
|
|
291
297
|
rakNetGUID: '',
|
|
292
298
|
worldType: 'Survival',
|
|
293
|
-
protocol: constants_1.SessionConfig.
|
|
299
|
+
protocol: constants_1.SessionConfig.MinecraftProtocolVersion,
|
|
294
300
|
BroadcastSetting: joinability.broadcastSetting,
|
|
295
301
|
OnlineCrossPlatformGame: true,
|
|
296
302
|
CrossPlayDisabled: false,
|
package/package.json
CHANGED