bedrock-portal-nethernet 2.0.8 → 2.0.9
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 +1 -1
- package/dist/options.js +2 -2
- package/dist/protocol.d.ts +191 -70
- package/dist/protocol.js +438 -135
- package/package.json +2 -1
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.
|
|
12
|
+
export declare const CURRENT_VERSION = "1.21.130";
|
|
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.
|
|
6
|
+
exports.CURRENT_VERSION = '1.21.130';
|
|
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:
|
|
25
|
+
protocolVersion: 898,
|
|
26
26
|
};
|
package/dist/protocol.d.ts
CHANGED
|
@@ -2222,6 +2222,18 @@ declare const _default: {
|
|
|
2222
2222
|
563: string;
|
|
2223
2223
|
564: string;
|
|
2224
2224
|
565: string;
|
|
2225
|
+
566: string;
|
|
2226
|
+
567: string;
|
|
2227
|
+
568: string;
|
|
2228
|
+
569: string;
|
|
2229
|
+
570: string;
|
|
2230
|
+
571: string;
|
|
2231
|
+
572: string;
|
|
2232
|
+
573: string;
|
|
2233
|
+
574: string;
|
|
2234
|
+
575: string;
|
|
2235
|
+
576: string;
|
|
2236
|
+
577: string;
|
|
2225
2237
|
};
|
|
2226
2238
|
})[];
|
|
2227
2239
|
LegacyEntityType: (string | {
|
|
@@ -2737,8 +2749,21 @@ declare const _default: {
|
|
|
2737
2749
|
type: string;
|
|
2738
2750
|
mappings: {
|
|
2739
2751
|
0: string;
|
|
2752
|
+
1: string;
|
|
2753
|
+
2: string;
|
|
2754
|
+
3: string;
|
|
2755
|
+
4: string;
|
|
2756
|
+
5: string;
|
|
2757
|
+
6: string;
|
|
2758
|
+
7: string;
|
|
2759
|
+
8: string;
|
|
2760
|
+
9: string;
|
|
2740
2761
|
};
|
|
2741
2762
|
})[];
|
|
2763
|
+
DebugMarkerData: (string | {
|
|
2764
|
+
name: string;
|
|
2765
|
+
type: string;
|
|
2766
|
+
}[])[];
|
|
2742
2767
|
mcpe_packet: (string | ({
|
|
2743
2768
|
name: string;
|
|
2744
2769
|
type: (string | {
|
|
@@ -2967,7 +2992,9 @@ declare const _default: {
|
|
|
2967
2992
|
327: string;
|
|
2968
2993
|
328: string;
|
|
2969
2994
|
329: string;
|
|
2995
|
+
330: string;
|
|
2970
2996
|
331: string;
|
|
2997
|
+
332: string;
|
|
2971
2998
|
};
|
|
2972
2999
|
})[];
|
|
2973
3000
|
} | {
|
|
@@ -3198,7 +3225,9 @@ declare const _default: {
|
|
|
3198
3225
|
clientbound_controls_scheme: string;
|
|
3199
3226
|
server_script_debug_drawer: string;
|
|
3200
3227
|
serverbound_pack_setting_change: string;
|
|
3228
|
+
clientbound_data_store: string;
|
|
3201
3229
|
graphics_override_parameter: string;
|
|
3230
|
+
serverbound_data_store: string;
|
|
3202
3231
|
};
|
|
3203
3232
|
})[];
|
|
3204
3233
|
})[])[];
|
|
@@ -3288,6 +3317,41 @@ declare const _default: {
|
|
|
3288
3317
|
type: string;
|
|
3289
3318
|
})[])[];
|
|
3290
3319
|
packet_text: (string | ({
|
|
3320
|
+
name: string;
|
|
3321
|
+
type: string;
|
|
3322
|
+
anon?: undefined;
|
|
3323
|
+
} | {
|
|
3324
|
+
name: string;
|
|
3325
|
+
type: (string | {
|
|
3326
|
+
type: string;
|
|
3327
|
+
mappings: {
|
|
3328
|
+
0: string;
|
|
3329
|
+
1: string;
|
|
3330
|
+
2: string;
|
|
3331
|
+
};
|
|
3332
|
+
})[];
|
|
3333
|
+
anon?: undefined;
|
|
3334
|
+
} | {
|
|
3335
|
+
anon: boolean;
|
|
3336
|
+
type: (string | {
|
|
3337
|
+
compareTo: string;
|
|
3338
|
+
fields: {
|
|
3339
|
+
message_only: (string | {
|
|
3340
|
+
name: string;
|
|
3341
|
+
type: string;
|
|
3342
|
+
}[])[];
|
|
3343
|
+
authored: (string | {
|
|
3344
|
+
name: string;
|
|
3345
|
+
type: string;
|
|
3346
|
+
}[])[];
|
|
3347
|
+
parameters: (string | {
|
|
3348
|
+
name: string;
|
|
3349
|
+
type: string;
|
|
3350
|
+
}[])[];
|
|
3351
|
+
};
|
|
3352
|
+
})[];
|
|
3353
|
+
name?: undefined;
|
|
3354
|
+
} | {
|
|
3291
3355
|
name: string;
|
|
3292
3356
|
type: (string | {
|
|
3293
3357
|
type: string;
|
|
@@ -3307,10 +3371,6 @@ declare const _default: {
|
|
|
3307
3371
|
};
|
|
3308
3372
|
})[];
|
|
3309
3373
|
anon?: undefined;
|
|
3310
|
-
} | {
|
|
3311
|
-
name: string;
|
|
3312
|
-
type: string;
|
|
3313
|
-
anon?: undefined;
|
|
3314
3374
|
} | {
|
|
3315
3375
|
anon: boolean;
|
|
3316
3376
|
type: (string | {
|
|
@@ -3385,6 +3445,15 @@ declare const _default: {
|
|
|
3385
3445
|
};
|
|
3386
3446
|
})[];
|
|
3387
3447
|
name?: undefined;
|
|
3448
|
+
} | {
|
|
3449
|
+
name: string;
|
|
3450
|
+
type: (string | {
|
|
3451
|
+
compareTo: string;
|
|
3452
|
+
fields: {
|
|
3453
|
+
true: string;
|
|
3454
|
+
};
|
|
3455
|
+
})[];
|
|
3456
|
+
anon?: undefined;
|
|
3388
3457
|
})[])[];
|
|
3389
3458
|
packet_set_time: (string | {
|
|
3390
3459
|
name: string;
|
|
@@ -3865,8 +3934,7 @@ declare const _default: {
|
|
|
3865
3934
|
type: (string | {
|
|
3866
3935
|
compareTo: string;
|
|
3867
3936
|
fields: {
|
|
3868
|
-
|
|
3869
|
-
leave_vehicle: string;
|
|
3937
|
+
true: string;
|
|
3870
3938
|
};
|
|
3871
3939
|
})[];
|
|
3872
3940
|
})[])[];
|
|
@@ -3926,31 +3994,19 @@ declare const _default: {
|
|
|
3926
3994
|
3: string;
|
|
3927
3995
|
4: string;
|
|
3928
3996
|
5: string;
|
|
3929
|
-
128: string;
|
|
3930
|
-
129: string;
|
|
3931
3997
|
};
|
|
3932
3998
|
})[];
|
|
3933
|
-
anon?: undefined;
|
|
3934
3999
|
} | {
|
|
3935
4000
|
name: string;
|
|
3936
4001
|
type: string;
|
|
3937
|
-
anon?: undefined;
|
|
3938
4002
|
} | {
|
|
3939
|
-
|
|
4003
|
+
name: string;
|
|
3940
4004
|
type: (string | {
|
|
3941
4005
|
compareTo: string;
|
|
3942
4006
|
fields: {
|
|
3943
|
-
|
|
3944
|
-
name: string;
|
|
3945
|
-
type: string;
|
|
3946
|
-
}[])[];
|
|
3947
|
-
row_left: (string | {
|
|
3948
|
-
name: string;
|
|
3949
|
-
type: string;
|
|
3950
|
-
}[])[];
|
|
4007
|
+
true: string;
|
|
3951
4008
|
};
|
|
3952
4009
|
})[];
|
|
3953
|
-
name?: undefined;
|
|
3954
4010
|
})[])[];
|
|
3955
4011
|
packet_respawn: (string | {
|
|
3956
4012
|
name: string;
|
|
@@ -4318,28 +4374,6 @@ declare const _default: {
|
|
|
4318
4374
|
countType: string;
|
|
4319
4375
|
type: string;
|
|
4320
4376
|
})[];
|
|
4321
|
-
} | {
|
|
4322
|
-
name: string;
|
|
4323
|
-
type: (string | {
|
|
4324
|
-
countType: string;
|
|
4325
|
-
type: (string | ({
|
|
4326
|
-
name: string;
|
|
4327
|
-
type: string;
|
|
4328
|
-
} | {
|
|
4329
|
-
name: string;
|
|
4330
|
-
type: (string | {
|
|
4331
|
-
countType: string;
|
|
4332
|
-
type: (string | {
|
|
4333
|
-
compareTo: string;
|
|
4334
|
-
fields: {
|
|
4335
|
-
byte: string;
|
|
4336
|
-
short: string;
|
|
4337
|
-
int: string;
|
|
4338
|
-
};
|
|
4339
|
-
})[];
|
|
4340
|
-
})[];
|
|
4341
|
-
})[])[];
|
|
4342
|
-
})[];
|
|
4343
4377
|
} | {
|
|
4344
4378
|
name: string;
|
|
4345
4379
|
type: (string | {
|
|
@@ -4479,17 +4513,6 @@ declare const _default: {
|
|
|
4479
4513
|
packet_command_output: (string | ({
|
|
4480
4514
|
name: string;
|
|
4481
4515
|
type: string;
|
|
4482
|
-
} | {
|
|
4483
|
-
name: string;
|
|
4484
|
-
type: (string | {
|
|
4485
|
-
type: string;
|
|
4486
|
-
mappings: {
|
|
4487
|
-
1: string;
|
|
4488
|
-
2: string;
|
|
4489
|
-
3: string;
|
|
4490
|
-
4: string;
|
|
4491
|
-
};
|
|
4492
|
-
})[];
|
|
4493
4516
|
} | {
|
|
4494
4517
|
name: string;
|
|
4495
4518
|
type: (string | {
|
|
@@ -4510,9 +4533,8 @@ declare const _default: {
|
|
|
4510
4533
|
type: (string | {
|
|
4511
4534
|
compareTo: string;
|
|
4512
4535
|
fields: {
|
|
4513
|
-
|
|
4536
|
+
true: string;
|
|
4514
4537
|
};
|
|
4515
|
-
default: string;
|
|
4516
4538
|
})[];
|
|
4517
4539
|
})[])[];
|
|
4518
4540
|
packet_update_trade: (string | {
|
|
@@ -5471,27 +5493,15 @@ declare const _default: {
|
|
|
5471
5493
|
}[])[];
|
|
5472
5494
|
packet_debug_renderer: (string | ({
|
|
5473
5495
|
name: string;
|
|
5474
|
-
type:
|
|
5475
|
-
type: string;
|
|
5476
|
-
mappings: {
|
|
5477
|
-
1: string;
|
|
5478
|
-
2: string;
|
|
5479
|
-
};
|
|
5480
|
-
})[];
|
|
5481
|
-
anon?: undefined;
|
|
5496
|
+
type: string;
|
|
5482
5497
|
} | {
|
|
5483
|
-
|
|
5498
|
+
name: string;
|
|
5484
5499
|
type: (string | {
|
|
5485
5500
|
compareTo: string;
|
|
5486
5501
|
fields: {
|
|
5487
|
-
|
|
5488
|
-
add_cube: (string | {
|
|
5489
|
-
name: string;
|
|
5490
|
-
type: string;
|
|
5491
|
-
}[])[];
|
|
5502
|
+
true: string;
|
|
5492
5503
|
};
|
|
5493
5504
|
})[];
|
|
5494
|
-
name?: undefined;
|
|
5495
5505
|
})[])[];
|
|
5496
5506
|
packet_sync_entity_property: (string | {
|
|
5497
5507
|
name: string;
|
|
@@ -6132,6 +6142,15 @@ declare const _default: {
|
|
|
6132
6142
|
type: (string | ({
|
|
6133
6143
|
name: string;
|
|
6134
6144
|
type: string;
|
|
6145
|
+
} | {
|
|
6146
|
+
name: string;
|
|
6147
|
+
type: (string | {
|
|
6148
|
+
name: string;
|
|
6149
|
+
type: (string | {
|
|
6150
|
+
countType: string;
|
|
6151
|
+
type: string;
|
|
6152
|
+
})[];
|
|
6153
|
+
}[])[];
|
|
6135
6154
|
} | {
|
|
6136
6155
|
name: string;
|
|
6137
6156
|
type: (string | {
|
|
@@ -6328,6 +6347,84 @@ declare const _default: {
|
|
|
6328
6347
|
})[];
|
|
6329
6348
|
})[])[];
|
|
6330
6349
|
})[])[];
|
|
6350
|
+
packet_clientbound_data_store: (string | {
|
|
6351
|
+
name: string;
|
|
6352
|
+
type: (string | {
|
|
6353
|
+
countType: string;
|
|
6354
|
+
type: (string | ({
|
|
6355
|
+
name: string;
|
|
6356
|
+
type: (string | {
|
|
6357
|
+
type: string;
|
|
6358
|
+
mappings: {
|
|
6359
|
+
0: string;
|
|
6360
|
+
1: string;
|
|
6361
|
+
2: string;
|
|
6362
|
+
};
|
|
6363
|
+
})[];
|
|
6364
|
+
anon?: undefined;
|
|
6365
|
+
} | {
|
|
6366
|
+
anon: boolean;
|
|
6367
|
+
type: (string | {
|
|
6368
|
+
compareTo: string;
|
|
6369
|
+
fields: {
|
|
6370
|
+
update: (string | ({
|
|
6371
|
+
name: string;
|
|
6372
|
+
type: string;
|
|
6373
|
+
} | {
|
|
6374
|
+
name: string;
|
|
6375
|
+
type: (string | {
|
|
6376
|
+
type: string;
|
|
6377
|
+
mappings: {
|
|
6378
|
+
0: string;
|
|
6379
|
+
1: string;
|
|
6380
|
+
2: string;
|
|
6381
|
+
};
|
|
6382
|
+
})[];
|
|
6383
|
+
} | {
|
|
6384
|
+
name: string;
|
|
6385
|
+
type: (string | {
|
|
6386
|
+
compareTo: string;
|
|
6387
|
+
fields: {
|
|
6388
|
+
double: string;
|
|
6389
|
+
bool: string;
|
|
6390
|
+
string: string;
|
|
6391
|
+
};
|
|
6392
|
+
})[];
|
|
6393
|
+
})[])[];
|
|
6394
|
+
change: (string | ({
|
|
6395
|
+
name: string;
|
|
6396
|
+
type: string;
|
|
6397
|
+
} | {
|
|
6398
|
+
name: string;
|
|
6399
|
+
type: (string | {
|
|
6400
|
+
type: string;
|
|
6401
|
+
mappings: {
|
|
6402
|
+
0: string;
|
|
6403
|
+
1: string;
|
|
6404
|
+
2: string;
|
|
6405
|
+
};
|
|
6406
|
+
})[];
|
|
6407
|
+
} | {
|
|
6408
|
+
name: string;
|
|
6409
|
+
type: (string | {
|
|
6410
|
+
compareTo: string;
|
|
6411
|
+
fields: {
|
|
6412
|
+
double: string;
|
|
6413
|
+
bool: string;
|
|
6414
|
+
string: string;
|
|
6415
|
+
};
|
|
6416
|
+
})[];
|
|
6417
|
+
})[])[];
|
|
6418
|
+
removal: (string | {
|
|
6419
|
+
name: string;
|
|
6420
|
+
type: string;
|
|
6421
|
+
}[])[];
|
|
6422
|
+
};
|
|
6423
|
+
})[];
|
|
6424
|
+
name?: undefined;
|
|
6425
|
+
})[])[];
|
|
6426
|
+
})[];
|
|
6427
|
+
}[])[];
|
|
6331
6428
|
packet_graphics_override_parameter: (string | ({
|
|
6332
6429
|
name: string;
|
|
6333
6430
|
type: (string | {
|
|
@@ -6338,6 +6435,30 @@ declare const _default: {
|
|
|
6338
6435
|
name: string;
|
|
6339
6436
|
type: string;
|
|
6340
6437
|
})[])[];
|
|
6438
|
+
packet_serverbound_data_store: (string | ({
|
|
6439
|
+
name: string;
|
|
6440
|
+
type: string;
|
|
6441
|
+
} | {
|
|
6442
|
+
name: string;
|
|
6443
|
+
type: (string | {
|
|
6444
|
+
type: string;
|
|
6445
|
+
mappings: {
|
|
6446
|
+
0: string;
|
|
6447
|
+
1: string;
|
|
6448
|
+
2: string;
|
|
6449
|
+
};
|
|
6450
|
+
})[];
|
|
6451
|
+
} | {
|
|
6452
|
+
name: string;
|
|
6453
|
+
type: (string | {
|
|
6454
|
+
compareTo: string;
|
|
6455
|
+
fields: {
|
|
6456
|
+
double: string;
|
|
6457
|
+
bool: string;
|
|
6458
|
+
string: string;
|
|
6459
|
+
};
|
|
6460
|
+
})[];
|
|
6461
|
+
})[])[];
|
|
6341
6462
|
};
|
|
6342
6463
|
};
|
|
6343
6464
|
export default _default;
|
package/dist/protocol.js
CHANGED
|
@@ -1078,6 +1078,7 @@ exports.default = {
|
|
|
1078
1078
|
'does_server_auth_only_dismount',
|
|
1079
1079
|
'body_rotation_always_follows_head',
|
|
1080
1080
|
'can_use_vertical_movement_action',
|
|
1081
|
+
'rotation_locked_to_vehicle',
|
|
1081
1082
|
],
|
|
1082
1083
|
},
|
|
1083
1084
|
],
|
|
@@ -4357,6 +4358,18 @@ exports.default = {
|
|
|
4357
4358
|
563: 'PlaceItem',
|
|
4358
4359
|
564: 'SingleItemSwap',
|
|
4359
4360
|
565: 'MultiItemSwap',
|
|
4361
|
+
566: 'ItemEnchantLunge1',
|
|
4362
|
+
567: 'ItemEnchantLunge2',
|
|
4363
|
+
568: 'ItemEnchantLunge3',
|
|
4364
|
+
569: 'AttackCritical',
|
|
4365
|
+
570: 'ItemSpearAttackHit',
|
|
4366
|
+
571: 'ItemSpearAttackMiss',
|
|
4367
|
+
572: 'ItemWoodenSpearAttackHit',
|
|
4368
|
+
573: 'ItemWoodenSpearAttackMiss',
|
|
4369
|
+
574: 'ImitateParched',
|
|
4370
|
+
575: 'ImitateCamelHusk',
|
|
4371
|
+
576: 'ItemSpearUse',
|
|
4372
|
+
577: 'ItemWoodenSpearUse',
|
|
4360
4373
|
},
|
|
4361
4374
|
},
|
|
4362
4375
|
],
|
|
@@ -5704,9 +5717,39 @@ exports.default = {
|
|
|
5704
5717
|
type: 'u8',
|
|
5705
5718
|
mappings: {
|
|
5706
5719
|
0: 'sky_zenith_color',
|
|
5720
|
+
1: 'sky_horizon_color',
|
|
5721
|
+
2: 'horizon_blend_min',
|
|
5722
|
+
3: 'horizon_blend_max',
|
|
5723
|
+
4: 'horizon_blend_start',
|
|
5724
|
+
5: 'horizon_blend_mie_start',
|
|
5725
|
+
6: 'rayleigh_strength',
|
|
5726
|
+
7: 'sun_mie_strength',
|
|
5727
|
+
8: 'moon_mie_strength',
|
|
5728
|
+
9: 'sun_glare_shape',
|
|
5707
5729
|
},
|
|
5708
5730
|
},
|
|
5709
5731
|
],
|
|
5732
|
+
DebugMarkerData: [
|
|
5733
|
+
'container',
|
|
5734
|
+
[
|
|
5735
|
+
{
|
|
5736
|
+
name: 'text',
|
|
5737
|
+
type: 'string',
|
|
5738
|
+
},
|
|
5739
|
+
{
|
|
5740
|
+
name: 'position',
|
|
5741
|
+
type: 'vec3f',
|
|
5742
|
+
},
|
|
5743
|
+
{
|
|
5744
|
+
name: 'color',
|
|
5745
|
+
type: 'lu32',
|
|
5746
|
+
},
|
|
5747
|
+
{
|
|
5748
|
+
name: 'duration',
|
|
5749
|
+
type: 'lu64',
|
|
5750
|
+
},
|
|
5751
|
+
],
|
|
5752
|
+
],
|
|
5710
5753
|
mcpe_packet: [
|
|
5711
5754
|
'container',
|
|
5712
5755
|
[
|
|
@@ -5940,7 +5983,9 @@ exports.default = {
|
|
|
5940
5983
|
327: 'clientbound_controls_scheme',
|
|
5941
5984
|
328: 'server_script_debug_drawer',
|
|
5942
5985
|
329: 'serverbound_pack_setting_change',
|
|
5986
|
+
330: 'clientbound_data_store',
|
|
5943
5987
|
331: 'graphics_override_parameter',
|
|
5988
|
+
332: 'serverbound_data_store',
|
|
5944
5989
|
},
|
|
5945
5990
|
},
|
|
5946
5991
|
],
|
|
@@ -6175,7 +6220,9 @@ exports.default = {
|
|
|
6175
6220
|
clientbound_controls_scheme: 'packet_clientbound_controls_scheme',
|
|
6176
6221
|
server_script_debug_drawer: 'packet_server_script_debug_drawer',
|
|
6177
6222
|
serverbound_pack_setting_change: 'packet_serverbound_pack_setting_change',
|
|
6223
|
+
clientbound_data_store: 'packet_clientbound_data_store',
|
|
6178
6224
|
graphics_override_parameter: 'packet_graphics_override_parameter',
|
|
6225
|
+
serverbound_data_store: 'packet_serverbound_data_store',
|
|
6179
6226
|
},
|
|
6180
6227
|
},
|
|
6181
6228
|
],
|
|
@@ -6339,10 +6386,6 @@ exports.default = {
|
|
|
6339
6386
|
name: 'must_accept',
|
|
6340
6387
|
type: 'bool',
|
|
6341
6388
|
},
|
|
6342
|
-
{
|
|
6343
|
-
name: 'behavior_packs',
|
|
6344
|
-
type: 'ResourcePackIdVersions',
|
|
6345
|
-
},
|
|
6346
6389
|
{
|
|
6347
6390
|
name: 'resource_packs',
|
|
6348
6391
|
type: 'ResourcePackIdVersions',
|
|
@@ -6393,6 +6436,98 @@ exports.default = {
|
|
|
6393
6436
|
packet_text: [
|
|
6394
6437
|
'container',
|
|
6395
6438
|
[
|
|
6439
|
+
{
|
|
6440
|
+
name: 'needs_translation',
|
|
6441
|
+
type: 'bool',
|
|
6442
|
+
},
|
|
6443
|
+
{
|
|
6444
|
+
name: 'category',
|
|
6445
|
+
type: [
|
|
6446
|
+
'mapper',
|
|
6447
|
+
{
|
|
6448
|
+
type: 'u8',
|
|
6449
|
+
mappings: {
|
|
6450
|
+
0: 'message_only',
|
|
6451
|
+
1: 'authored',
|
|
6452
|
+
2: 'parameters',
|
|
6453
|
+
},
|
|
6454
|
+
},
|
|
6455
|
+
],
|
|
6456
|
+
},
|
|
6457
|
+
{
|
|
6458
|
+
anon: true,
|
|
6459
|
+
type: [
|
|
6460
|
+
'switch',
|
|
6461
|
+
{
|
|
6462
|
+
compareTo: 'category',
|
|
6463
|
+
fields: {
|
|
6464
|
+
message_only: [
|
|
6465
|
+
'container',
|
|
6466
|
+
[
|
|
6467
|
+
{
|
|
6468
|
+
name: 'raw',
|
|
6469
|
+
type: 'string',
|
|
6470
|
+
},
|
|
6471
|
+
{
|
|
6472
|
+
name: 'tip',
|
|
6473
|
+
type: 'string',
|
|
6474
|
+
},
|
|
6475
|
+
{
|
|
6476
|
+
name: 'system_message',
|
|
6477
|
+
type: 'string',
|
|
6478
|
+
},
|
|
6479
|
+
{
|
|
6480
|
+
name: 'text_object_whisper',
|
|
6481
|
+
type: 'string',
|
|
6482
|
+
},
|
|
6483
|
+
{
|
|
6484
|
+
name: 'text_object_announcement',
|
|
6485
|
+
type: 'string',
|
|
6486
|
+
},
|
|
6487
|
+
{
|
|
6488
|
+
name: 'text_object',
|
|
6489
|
+
type: 'string',
|
|
6490
|
+
},
|
|
6491
|
+
],
|
|
6492
|
+
],
|
|
6493
|
+
authored: [
|
|
6494
|
+
'container',
|
|
6495
|
+
[
|
|
6496
|
+
{
|
|
6497
|
+
name: 'chat',
|
|
6498
|
+
type: 'string',
|
|
6499
|
+
},
|
|
6500
|
+
{
|
|
6501
|
+
name: 'whisper',
|
|
6502
|
+
type: 'string',
|
|
6503
|
+
},
|
|
6504
|
+
{
|
|
6505
|
+
name: 'announcement',
|
|
6506
|
+
type: 'string',
|
|
6507
|
+
},
|
|
6508
|
+
],
|
|
6509
|
+
],
|
|
6510
|
+
parameters: [
|
|
6511
|
+
'container',
|
|
6512
|
+
[
|
|
6513
|
+
{
|
|
6514
|
+
name: 'translate',
|
|
6515
|
+
type: 'string',
|
|
6516
|
+
},
|
|
6517
|
+
{
|
|
6518
|
+
name: 'popup',
|
|
6519
|
+
type: 'string',
|
|
6520
|
+
},
|
|
6521
|
+
{
|
|
6522
|
+
name: 'jukebox_popup',
|
|
6523
|
+
type: 'string',
|
|
6524
|
+
},
|
|
6525
|
+
],
|
|
6526
|
+
],
|
|
6527
|
+
},
|
|
6528
|
+
},
|
|
6529
|
+
],
|
|
6530
|
+
},
|
|
6396
6531
|
{
|
|
6397
6532
|
name: 'type',
|
|
6398
6533
|
type: [
|
|
@@ -6416,10 +6551,6 @@ exports.default = {
|
|
|
6416
6551
|
},
|
|
6417
6552
|
],
|
|
6418
6553
|
},
|
|
6419
|
-
{
|
|
6420
|
-
name: 'needs_translation',
|
|
6421
|
-
type: 'bool',
|
|
6422
|
-
},
|
|
6423
6554
|
{
|
|
6424
6555
|
anon: true,
|
|
6425
6556
|
type: [
|
|
@@ -6589,9 +6720,21 @@ exports.default = {
|
|
|
6589
6720
|
name: 'platform_chat_id',
|
|
6590
6721
|
type: 'string',
|
|
6591
6722
|
},
|
|
6723
|
+
{
|
|
6724
|
+
name: 'has_filtered_message',
|
|
6725
|
+
type: 'bool',
|
|
6726
|
+
},
|
|
6592
6727
|
{
|
|
6593
6728
|
name: 'filtered_message',
|
|
6594
|
-
type:
|
|
6729
|
+
type: [
|
|
6730
|
+
'switch',
|
|
6731
|
+
{
|
|
6732
|
+
compareTo: 'has_filtered_message',
|
|
6733
|
+
fields: {
|
|
6734
|
+
true: 'string',
|
|
6735
|
+
},
|
|
6736
|
+
},
|
|
6737
|
+
],
|
|
6595
6738
|
},
|
|
6596
6739
|
],
|
|
6597
6740
|
],
|
|
@@ -6952,10 +7095,6 @@ exports.default = {
|
|
|
6952
7095
|
name: 'block_network_ids_are_hashes',
|
|
6953
7096
|
type: 'bool',
|
|
6954
7097
|
},
|
|
6955
|
-
{
|
|
6956
|
-
name: 'tick_death_systems',
|
|
6957
|
-
type: 'bool',
|
|
6958
|
-
},
|
|
6959
7098
|
{
|
|
6960
7099
|
name: 'server_controlled_sound',
|
|
6961
7100
|
type: 'bool',
|
|
@@ -7761,6 +7900,10 @@ exports.default = {
|
|
|
7761
7900
|
name: 'tick',
|
|
7762
7901
|
type: 'varint64',
|
|
7763
7902
|
},
|
|
7903
|
+
{
|
|
7904
|
+
name: 'ambient',
|
|
7905
|
+
type: 'bool',
|
|
7906
|
+
},
|
|
7764
7907
|
],
|
|
7765
7908
|
],
|
|
7766
7909
|
packet_update_attributes: [
|
|
@@ -7865,15 +8008,18 @@ exports.default = {
|
|
|
7865
8008
|
name: 'target_entity_id',
|
|
7866
8009
|
type: 'varint64',
|
|
7867
8010
|
},
|
|
8011
|
+
{
|
|
8012
|
+
name: 'has_position',
|
|
8013
|
+
type: 'bool',
|
|
8014
|
+
},
|
|
7868
8015
|
{
|
|
7869
8016
|
name: 'position',
|
|
7870
8017
|
type: [
|
|
7871
8018
|
'switch',
|
|
7872
8019
|
{
|
|
7873
|
-
compareTo: '
|
|
8020
|
+
compareTo: 'has_position',
|
|
7874
8021
|
fields: {
|
|
7875
|
-
|
|
7876
|
-
leave_vehicle: 'vec3f',
|
|
8022
|
+
true: 'vec3f',
|
|
7877
8023
|
},
|
|
7878
8024
|
},
|
|
7879
8025
|
],
|
|
@@ -8058,7 +8204,7 @@ exports.default = {
|
|
|
8058
8204
|
type: [
|
|
8059
8205
|
'mapper',
|
|
8060
8206
|
{
|
|
8061
|
-
type: '
|
|
8207
|
+
type: 'u8',
|
|
8062
8208
|
mappings: {
|
|
8063
8209
|
0: 'none',
|
|
8064
8210
|
1: 'swing_arm',
|
|
@@ -8066,8 +8212,6 @@ exports.default = {
|
|
|
8066
8212
|
3: 'wake_up',
|
|
8067
8213
|
4: 'critical_hit',
|
|
8068
8214
|
5: 'magic_critical_hit',
|
|
8069
|
-
128: 'row_right',
|
|
8070
|
-
129: 'row_left',
|
|
8071
8215
|
},
|
|
8072
8216
|
},
|
|
8073
8217
|
],
|
|
@@ -8081,30 +8225,17 @@ exports.default = {
|
|
|
8081
8225
|
type: 'lf32',
|
|
8082
8226
|
},
|
|
8083
8227
|
{
|
|
8084
|
-
|
|
8228
|
+
name: 'has_swing_source',
|
|
8229
|
+
type: 'bool',
|
|
8230
|
+
},
|
|
8231
|
+
{
|
|
8232
|
+
name: 'swing_source',
|
|
8085
8233
|
type: [
|
|
8086
8234
|
'switch',
|
|
8087
8235
|
{
|
|
8088
|
-
compareTo: '
|
|
8236
|
+
compareTo: 'has_swing_source',
|
|
8089
8237
|
fields: {
|
|
8090
|
-
|
|
8091
|
-
'container',
|
|
8092
|
-
[
|
|
8093
|
-
{
|
|
8094
|
-
name: 'rowing_time',
|
|
8095
|
-
type: 'lf32',
|
|
8096
|
-
},
|
|
8097
|
-
],
|
|
8098
|
-
],
|
|
8099
|
-
row_left: [
|
|
8100
|
-
'container',
|
|
8101
|
-
[
|
|
8102
|
-
{
|
|
8103
|
-
name: 'rowing_time',
|
|
8104
|
-
type: 'lf32',
|
|
8105
|
-
},
|
|
8106
|
-
],
|
|
8107
|
-
],
|
|
8238
|
+
true: 'string',
|
|
8108
8239
|
},
|
|
8109
8240
|
},
|
|
8110
8241
|
],
|
|
@@ -9051,12 +9182,6 @@ exports.default = {
|
|
|
9051
9182
|
name: 'values_len',
|
|
9052
9183
|
type: 'varint',
|
|
9053
9184
|
},
|
|
9054
|
-
{
|
|
9055
|
-
name: '_enum_type',
|
|
9056
|
-
type: [
|
|
9057
|
-
'enum_size_based_on_values_len',
|
|
9058
|
-
],
|
|
9059
|
-
},
|
|
9060
9185
|
{
|
|
9061
9186
|
name: 'enum_values',
|
|
9062
9187
|
type: [
|
|
@@ -9106,17 +9231,7 @@ exports.default = {
|
|
|
9106
9231
|
'array',
|
|
9107
9232
|
{
|
|
9108
9233
|
countType: 'varint',
|
|
9109
|
-
type:
|
|
9110
|
-
'switch',
|
|
9111
|
-
{
|
|
9112
|
-
compareTo: '../_enum_type',
|
|
9113
|
-
fields: {
|
|
9114
|
-
byte: 'u8',
|
|
9115
|
-
short: 'lu16',
|
|
9116
|
-
int: 'lu32',
|
|
9117
|
-
},
|
|
9118
|
-
},
|
|
9119
|
-
],
|
|
9234
|
+
type: 'lu32',
|
|
9120
9235
|
},
|
|
9121
9236
|
],
|
|
9122
9237
|
},
|
|
@@ -9149,11 +9264,11 @@ exports.default = {
|
|
|
9149
9264
|
[
|
|
9150
9265
|
{
|
|
9151
9266
|
name: 'index',
|
|
9152
|
-
type: '
|
|
9267
|
+
type: 'varint',
|
|
9153
9268
|
},
|
|
9154
9269
|
{
|
|
9155
9270
|
name: 'value',
|
|
9156
|
-
type: '
|
|
9271
|
+
type: 'varint',
|
|
9157
9272
|
},
|
|
9158
9273
|
],
|
|
9159
9274
|
],
|
|
@@ -9188,7 +9303,7 @@ exports.default = {
|
|
|
9188
9303
|
},
|
|
9189
9304
|
{
|
|
9190
9305
|
name: 'permission_level',
|
|
9191
|
-
type: '
|
|
9306
|
+
type: 'string',
|
|
9192
9307
|
},
|
|
9193
9308
|
{
|
|
9194
9309
|
name: 'alias',
|
|
@@ -9200,7 +9315,7 @@ exports.default = {
|
|
|
9200
9315
|
'array',
|
|
9201
9316
|
{
|
|
9202
9317
|
countType: 'varint',
|
|
9203
|
-
type: '
|
|
9318
|
+
type: 'lu32',
|
|
9204
9319
|
},
|
|
9205
9320
|
],
|
|
9206
9321
|
},
|
|
@@ -9425,7 +9540,7 @@ exports.default = {
|
|
|
9425
9540
|
},
|
|
9426
9541
|
{
|
|
9427
9542
|
name: 'version',
|
|
9428
|
-
type: '
|
|
9543
|
+
type: 'string',
|
|
9429
9544
|
},
|
|
9430
9545
|
],
|
|
9431
9546
|
],
|
|
@@ -9526,22 +9641,11 @@ exports.default = {
|
|
|
9526
9641
|
},
|
|
9527
9642
|
{
|
|
9528
9643
|
name: 'output_type',
|
|
9529
|
-
type:
|
|
9530
|
-
'mapper',
|
|
9531
|
-
{
|
|
9532
|
-
type: 'i8',
|
|
9533
|
-
mappings: {
|
|
9534
|
-
1: 'last',
|
|
9535
|
-
2: 'silent',
|
|
9536
|
-
3: 'all',
|
|
9537
|
-
4: 'data_set',
|
|
9538
|
-
},
|
|
9539
|
-
},
|
|
9540
|
-
],
|
|
9644
|
+
type: 'string',
|
|
9541
9645
|
},
|
|
9542
9646
|
{
|
|
9543
9647
|
name: 'success_count',
|
|
9544
|
-
type: '
|
|
9648
|
+
type: 'lu32',
|
|
9545
9649
|
},
|
|
9546
9650
|
{
|
|
9547
9651
|
name: 'output',
|
|
@@ -9552,14 +9656,14 @@ exports.default = {
|
|
|
9552
9656
|
type: [
|
|
9553
9657
|
'container',
|
|
9554
9658
|
[
|
|
9555
|
-
{
|
|
9556
|
-
name: 'success',
|
|
9557
|
-
type: 'bool',
|
|
9558
|
-
},
|
|
9559
9659
|
{
|
|
9560
9660
|
name: 'message_id',
|
|
9561
9661
|
type: 'string',
|
|
9562
9662
|
},
|
|
9663
|
+
{
|
|
9664
|
+
name: 'success',
|
|
9665
|
+
type: 'bool',
|
|
9666
|
+
},
|
|
9563
9667
|
{
|
|
9564
9668
|
name: 'parameters',
|
|
9565
9669
|
type: [
|
|
@@ -9576,15 +9680,18 @@ exports.default = {
|
|
|
9576
9680
|
],
|
|
9577
9681
|
},
|
|
9578
9682
|
{
|
|
9579
|
-
name: '
|
|
9683
|
+
name: 'has_data',
|
|
9684
|
+
type: 'bool',
|
|
9685
|
+
},
|
|
9686
|
+
{
|
|
9687
|
+
name: 'data',
|
|
9580
9688
|
type: [
|
|
9581
9689
|
'switch',
|
|
9582
9690
|
{
|
|
9583
|
-
compareTo: '
|
|
9691
|
+
compareTo: 'has_data',
|
|
9584
9692
|
fields: {
|
|
9585
|
-
|
|
9693
|
+
true: 'string',
|
|
9586
9694
|
},
|
|
9587
|
-
default: 'void',
|
|
9588
9695
|
},
|
|
9589
9696
|
],
|
|
9590
9697
|
},
|
|
@@ -12183,58 +12290,20 @@ exports.default = {
|
|
|
12183
12290
|
[
|
|
12184
12291
|
{
|
|
12185
12292
|
name: 'type',
|
|
12186
|
-
type:
|
|
12187
|
-
'mapper',
|
|
12188
|
-
{
|
|
12189
|
-
type: 'li32',
|
|
12190
|
-
mappings: {
|
|
12191
|
-
1: 'clear',
|
|
12192
|
-
2: 'add_cube',
|
|
12193
|
-
},
|
|
12194
|
-
},
|
|
12195
|
-
],
|
|
12293
|
+
type: 'string',
|
|
12196
12294
|
},
|
|
12197
12295
|
{
|
|
12198
|
-
|
|
12296
|
+
name: 'has_data',
|
|
12297
|
+
type: 'bool',
|
|
12298
|
+
},
|
|
12299
|
+
{
|
|
12300
|
+
name: 'data',
|
|
12199
12301
|
type: [
|
|
12200
12302
|
'switch',
|
|
12201
12303
|
{
|
|
12202
|
-
compareTo: '
|
|
12304
|
+
compareTo: 'has_data',
|
|
12203
12305
|
fields: {
|
|
12204
|
-
|
|
12205
|
-
add_cube: [
|
|
12206
|
-
'container',
|
|
12207
|
-
[
|
|
12208
|
-
{
|
|
12209
|
-
name: 'text',
|
|
12210
|
-
type: 'string',
|
|
12211
|
-
},
|
|
12212
|
-
{
|
|
12213
|
-
name: 'position',
|
|
12214
|
-
type: 'vec3f',
|
|
12215
|
-
},
|
|
12216
|
-
{
|
|
12217
|
-
name: 'red',
|
|
12218
|
-
type: 'lf32',
|
|
12219
|
-
},
|
|
12220
|
-
{
|
|
12221
|
-
name: 'green',
|
|
12222
|
-
type: 'lf32',
|
|
12223
|
-
},
|
|
12224
|
-
{
|
|
12225
|
-
name: 'blue',
|
|
12226
|
-
type: 'lf32',
|
|
12227
|
-
},
|
|
12228
|
-
{
|
|
12229
|
-
name: 'alpha',
|
|
12230
|
-
type: 'lf32',
|
|
12231
|
-
},
|
|
12232
|
-
{
|
|
12233
|
-
name: 'duration',
|
|
12234
|
-
type: 'li64',
|
|
12235
|
-
},
|
|
12236
|
-
],
|
|
12237
|
-
],
|
|
12306
|
+
true: 'DebugMarkerData',
|
|
12238
12307
|
},
|
|
12239
12308
|
},
|
|
12240
12309
|
],
|
|
@@ -14017,6 +14086,16 @@ exports.default = {
|
|
|
14017
14086
|
},
|
|
14018
14087
|
],
|
|
14019
14088
|
},
|
|
14089
|
+
{
|
|
14090
|
+
name: 'block_tags',
|
|
14091
|
+
type: [
|
|
14092
|
+
'array',
|
|
14093
|
+
{
|
|
14094
|
+
countType: 'varint',
|
|
14095
|
+
type: 'varint',
|
|
14096
|
+
},
|
|
14097
|
+
],
|
|
14098
|
+
},
|
|
14020
14099
|
{
|
|
14021
14100
|
name: 'entity_default',
|
|
14022
14101
|
type: [
|
|
@@ -14050,13 +14129,41 @@ exports.default = {
|
|
|
14050
14129
|
type: 'string',
|
|
14051
14130
|
},
|
|
14052
14131
|
{
|
|
14053
|
-
name: '
|
|
14132
|
+
name: 'exclusion_settings',
|
|
14054
14133
|
type: [
|
|
14055
|
-
'
|
|
14056
|
-
|
|
14057
|
-
|
|
14058
|
-
|
|
14059
|
-
|
|
14134
|
+
'container',
|
|
14135
|
+
[
|
|
14136
|
+
{
|
|
14137
|
+
name: 'blocks',
|
|
14138
|
+
type: [
|
|
14139
|
+
'array',
|
|
14140
|
+
{
|
|
14141
|
+
countType: 'varint',
|
|
14142
|
+
type: 'string',
|
|
14143
|
+
},
|
|
14144
|
+
],
|
|
14145
|
+
},
|
|
14146
|
+
{
|
|
14147
|
+
name: 'entities',
|
|
14148
|
+
type: [
|
|
14149
|
+
'array',
|
|
14150
|
+
{
|
|
14151
|
+
countType: 'varint',
|
|
14152
|
+
type: 'string',
|
|
14153
|
+
},
|
|
14154
|
+
],
|
|
14155
|
+
},
|
|
14156
|
+
{
|
|
14157
|
+
name: 'block_tags',
|
|
14158
|
+
type: [
|
|
14159
|
+
'array',
|
|
14160
|
+
{
|
|
14161
|
+
countType: 'varint',
|
|
14162
|
+
type: 'string',
|
|
14163
|
+
},
|
|
14164
|
+
],
|
|
14165
|
+
},
|
|
14166
|
+
],
|
|
14060
14167
|
],
|
|
14061
14168
|
},
|
|
14062
14169
|
{
|
|
@@ -14514,7 +14621,7 @@ exports.default = {
|
|
|
14514
14621
|
type: [
|
|
14515
14622
|
'mapper',
|
|
14516
14623
|
{
|
|
14517
|
-
type: '
|
|
14624
|
+
type: 'varint',
|
|
14518
14625
|
mappings: {
|
|
14519
14626
|
0: 'float',
|
|
14520
14627
|
1: 'bool',
|
|
@@ -14542,6 +14649,153 @@ exports.default = {
|
|
|
14542
14649
|
},
|
|
14543
14650
|
],
|
|
14544
14651
|
],
|
|
14652
|
+
packet_clientbound_data_store: [
|
|
14653
|
+
'container',
|
|
14654
|
+
[
|
|
14655
|
+
{
|
|
14656
|
+
name: 'entries',
|
|
14657
|
+
type: [
|
|
14658
|
+
'array',
|
|
14659
|
+
{
|
|
14660
|
+
countType: 'varint',
|
|
14661
|
+
type: [
|
|
14662
|
+
'container',
|
|
14663
|
+
[
|
|
14664
|
+
{
|
|
14665
|
+
name: 'type',
|
|
14666
|
+
type: [
|
|
14667
|
+
'mapper',
|
|
14668
|
+
{
|
|
14669
|
+
type: 'varint',
|
|
14670
|
+
mappings: {
|
|
14671
|
+
0: 'update',
|
|
14672
|
+
1: 'change',
|
|
14673
|
+
2: 'removal',
|
|
14674
|
+
},
|
|
14675
|
+
},
|
|
14676
|
+
],
|
|
14677
|
+
},
|
|
14678
|
+
{
|
|
14679
|
+
anon: true,
|
|
14680
|
+
type: [
|
|
14681
|
+
'switch',
|
|
14682
|
+
{
|
|
14683
|
+
compareTo: 'type',
|
|
14684
|
+
fields: {
|
|
14685
|
+
update: [
|
|
14686
|
+
'container',
|
|
14687
|
+
[
|
|
14688
|
+
{
|
|
14689
|
+
name: 'name',
|
|
14690
|
+
type: 'string',
|
|
14691
|
+
},
|
|
14692
|
+
{
|
|
14693
|
+
name: 'property',
|
|
14694
|
+
type: 'string',
|
|
14695
|
+
},
|
|
14696
|
+
{
|
|
14697
|
+
name: 'path',
|
|
14698
|
+
type: 'string',
|
|
14699
|
+
},
|
|
14700
|
+
{
|
|
14701
|
+
name: 'data_type',
|
|
14702
|
+
type: [
|
|
14703
|
+
'mapper',
|
|
14704
|
+
{
|
|
14705
|
+
type: 'varint',
|
|
14706
|
+
mappings: {
|
|
14707
|
+
0: 'double',
|
|
14708
|
+
1: 'bool',
|
|
14709
|
+
2: 'string',
|
|
14710
|
+
},
|
|
14711
|
+
},
|
|
14712
|
+
],
|
|
14713
|
+
},
|
|
14714
|
+
{
|
|
14715
|
+
name: 'data',
|
|
14716
|
+
type: [
|
|
14717
|
+
'switch',
|
|
14718
|
+
{
|
|
14719
|
+
compareTo: 'data_type',
|
|
14720
|
+
fields: {
|
|
14721
|
+
double: 'lf64',
|
|
14722
|
+
bool: 'bool',
|
|
14723
|
+
string: 'string',
|
|
14724
|
+
},
|
|
14725
|
+
},
|
|
14726
|
+
],
|
|
14727
|
+
},
|
|
14728
|
+
{
|
|
14729
|
+
name: 'update_count',
|
|
14730
|
+
type: 'varint',
|
|
14731
|
+
},
|
|
14732
|
+
],
|
|
14733
|
+
],
|
|
14734
|
+
change: [
|
|
14735
|
+
'container',
|
|
14736
|
+
[
|
|
14737
|
+
{
|
|
14738
|
+
name: 'name',
|
|
14739
|
+
type: 'string',
|
|
14740
|
+
},
|
|
14741
|
+
{
|
|
14742
|
+
name: 'property',
|
|
14743
|
+
type: 'string',
|
|
14744
|
+
},
|
|
14745
|
+
{
|
|
14746
|
+
name: 'update_count',
|
|
14747
|
+
type: 'varint',
|
|
14748
|
+
},
|
|
14749
|
+
{
|
|
14750
|
+
name: 'data_type',
|
|
14751
|
+
type: [
|
|
14752
|
+
'mapper',
|
|
14753
|
+
{
|
|
14754
|
+
type: 'varint',
|
|
14755
|
+
mappings: {
|
|
14756
|
+
0: 'double',
|
|
14757
|
+
1: 'bool',
|
|
14758
|
+
2: 'string',
|
|
14759
|
+
},
|
|
14760
|
+
},
|
|
14761
|
+
],
|
|
14762
|
+
},
|
|
14763
|
+
{
|
|
14764
|
+
name: 'data',
|
|
14765
|
+
type: [
|
|
14766
|
+
'switch',
|
|
14767
|
+
{
|
|
14768
|
+
compareTo: 'data_type',
|
|
14769
|
+
fields: {
|
|
14770
|
+
double: 'lf64',
|
|
14771
|
+
bool: 'bool',
|
|
14772
|
+
string: 'string',
|
|
14773
|
+
},
|
|
14774
|
+
},
|
|
14775
|
+
],
|
|
14776
|
+
},
|
|
14777
|
+
],
|
|
14778
|
+
],
|
|
14779
|
+
removal: [
|
|
14780
|
+
'container',
|
|
14781
|
+
[
|
|
14782
|
+
{
|
|
14783
|
+
name: 'name',
|
|
14784
|
+
type: 'string',
|
|
14785
|
+
},
|
|
14786
|
+
],
|
|
14787
|
+
],
|
|
14788
|
+
},
|
|
14789
|
+
},
|
|
14790
|
+
],
|
|
14791
|
+
},
|
|
14792
|
+
],
|
|
14793
|
+
],
|
|
14794
|
+
},
|
|
14795
|
+
],
|
|
14796
|
+
},
|
|
14797
|
+
],
|
|
14798
|
+
],
|
|
14545
14799
|
packet_graphics_override_parameter: [
|
|
14546
14800
|
'container',
|
|
14547
14801
|
[
|
|
@@ -14569,5 +14823,54 @@ exports.default = {
|
|
|
14569
14823
|
},
|
|
14570
14824
|
],
|
|
14571
14825
|
],
|
|
14826
|
+
packet_serverbound_data_store: [
|
|
14827
|
+
'container',
|
|
14828
|
+
[
|
|
14829
|
+
{
|
|
14830
|
+
name: 'name',
|
|
14831
|
+
type: 'string',
|
|
14832
|
+
},
|
|
14833
|
+
{
|
|
14834
|
+
name: 'property',
|
|
14835
|
+
type: 'string',
|
|
14836
|
+
},
|
|
14837
|
+
{
|
|
14838
|
+
name: 'path',
|
|
14839
|
+
type: 'string',
|
|
14840
|
+
},
|
|
14841
|
+
{
|
|
14842
|
+
name: 'data_type',
|
|
14843
|
+
type: [
|
|
14844
|
+
'mapper',
|
|
14845
|
+
{
|
|
14846
|
+
type: 'varint',
|
|
14847
|
+
mappings: {
|
|
14848
|
+
0: 'double',
|
|
14849
|
+
1: 'bool',
|
|
14850
|
+
2: 'string',
|
|
14851
|
+
},
|
|
14852
|
+
},
|
|
14853
|
+
],
|
|
14854
|
+
},
|
|
14855
|
+
{
|
|
14856
|
+
name: 'data',
|
|
14857
|
+
type: [
|
|
14858
|
+
'switch',
|
|
14859
|
+
{
|
|
14860
|
+
compareTo: 'data_type',
|
|
14861
|
+
fields: {
|
|
14862
|
+
double: 'lf64',
|
|
14863
|
+
bool: 'bool',
|
|
14864
|
+
string: 'string',
|
|
14865
|
+
},
|
|
14866
|
+
},
|
|
14867
|
+
],
|
|
14868
|
+
},
|
|
14869
|
+
{
|
|
14870
|
+
name: 'update_count',
|
|
14871
|
+
type: 'varint',
|
|
14872
|
+
},
|
|
14873
|
+
],
|
|
14874
|
+
],
|
|
14572
14875
|
},
|
|
14573
14876
|
};
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bedrock-portal-nethernet",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.9",
|
|
4
4
|
"description": "A simple server implementation for the Bedrock Edition Nethernet protocol",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
+
"repository": "https://github.com/LucienHH/bedrock-portal-nethernet",
|
|
7
8
|
"scripts": {
|
|
8
9
|
"build": "tsc",
|
|
9
10
|
"watch": "tsc --watch",
|