bedrock-portal-nethernet 2.0.6 → 2.0.7
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 +1 -1
- package/dist/protocol.d.ts +106 -21
- package/dist/protocol.js +279 -228
- package/package.json +1 -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.111";
|
|
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.111';
|
|
7
7
|
exports.defaultOptions = {
|
|
8
8
|
// https://minecraft.wiki/w/Protocol_version#Bedrock_Edition_2
|
|
9
9
|
version: exports.CURRENT_VERSION,
|
package/dist/protocol.d.ts
CHANGED
|
@@ -73,7 +73,7 @@ declare const _default: {
|
|
|
73
73
|
6: string;
|
|
74
74
|
};
|
|
75
75
|
})[];
|
|
76
|
-
|
|
76
|
+
GameRuleI32: (string | ({
|
|
77
77
|
name: string;
|
|
78
78
|
type: string;
|
|
79
79
|
} | {
|
|
@@ -97,10 +97,30 @@ declare const _default: {
|
|
|
97
97
|
};
|
|
98
98
|
})[];
|
|
99
99
|
})[])[];
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
GameRulesVarint: (string | ({
|
|
101
|
+
name: string;
|
|
102
102
|
type: string;
|
|
103
|
-
}
|
|
103
|
+
} | {
|
|
104
|
+
name: string;
|
|
105
|
+
type: (string | {
|
|
106
|
+
type: string;
|
|
107
|
+
mappings: {
|
|
108
|
+
1: string;
|
|
109
|
+
2: string;
|
|
110
|
+
3: string;
|
|
111
|
+
};
|
|
112
|
+
})[];
|
|
113
|
+
} | {
|
|
114
|
+
name: string;
|
|
115
|
+
type: (string | {
|
|
116
|
+
compareTo: string;
|
|
117
|
+
fields: {
|
|
118
|
+
bool: string;
|
|
119
|
+
int: string;
|
|
120
|
+
float: string;
|
|
121
|
+
};
|
|
122
|
+
})[];
|
|
123
|
+
})[])[];
|
|
104
124
|
Blob: (string | {
|
|
105
125
|
name: string;
|
|
106
126
|
type: string;
|
|
@@ -538,6 +558,17 @@ declare const _default: {
|
|
|
538
558
|
})[])[];
|
|
539
559
|
})[];
|
|
540
560
|
TransactionUseItem: (string | ({
|
|
561
|
+
name: string;
|
|
562
|
+
type: (string | {
|
|
563
|
+
type: string;
|
|
564
|
+
mappings: {
|
|
565
|
+
0: string;
|
|
566
|
+
1: string;
|
|
567
|
+
2: string;
|
|
568
|
+
3: string;
|
|
569
|
+
};
|
|
570
|
+
})[];
|
|
571
|
+
} | {
|
|
541
572
|
name: string;
|
|
542
573
|
type: (string | {
|
|
543
574
|
type: string;
|
|
@@ -2185,6 +2216,12 @@ declare const _default: {
|
|
|
2185
2216
|
557: string;
|
|
2186
2217
|
558: string;
|
|
2187
2218
|
559: string;
|
|
2219
|
+
560: string;
|
|
2220
|
+
561: string;
|
|
2221
|
+
562: string;
|
|
2222
|
+
563: string;
|
|
2223
|
+
564: string;
|
|
2224
|
+
565: string;
|
|
2188
2225
|
};
|
|
2189
2226
|
})[];
|
|
2190
2227
|
LegacyEntityType: (string | {
|
|
@@ -2888,6 +2925,7 @@ declare const _default: {
|
|
|
2888
2925
|
326: string;
|
|
2889
2926
|
327: string;
|
|
2890
2927
|
328: string;
|
|
2928
|
+
329: string;
|
|
2891
2929
|
};
|
|
2892
2930
|
})[];
|
|
2893
2931
|
} | {
|
|
@@ -3117,6 +3155,7 @@ declare const _default: {
|
|
|
3117
3155
|
player_location: string;
|
|
3118
3156
|
clientbound_controls_scheme: string;
|
|
3119
3157
|
server_script_debug_drawer: string;
|
|
3158
|
+
serverbound_pack_setting_change: string;
|
|
3120
3159
|
};
|
|
3121
3160
|
})[];
|
|
3122
3161
|
})[])[];
|
|
@@ -3332,6 +3371,12 @@ declare const _default: {
|
|
|
3332
3371
|
3: string;
|
|
3333
3372
|
};
|
|
3334
3373
|
})[];
|
|
3374
|
+
} | {
|
|
3375
|
+
name: string;
|
|
3376
|
+
type: (string | {
|
|
3377
|
+
countType: string;
|
|
3378
|
+
type: string;
|
|
3379
|
+
})[];
|
|
3335
3380
|
})[])[];
|
|
3336
3381
|
packet_add_player: (string | ({
|
|
3337
3382
|
name: string;
|
|
@@ -3542,6 +3587,12 @@ declare const _default: {
|
|
|
3542
3587
|
3613: string;
|
|
3543
3588
|
3614: string;
|
|
3544
3589
|
3615: string;
|
|
3590
|
+
3616: string;
|
|
3591
|
+
3617: string;
|
|
3592
|
+
3618: string;
|
|
3593
|
+
3619: string;
|
|
3594
|
+
3620: string;
|
|
3595
|
+
3621: string;
|
|
3545
3596
|
4000: string;
|
|
3546
3597
|
9800: string;
|
|
3547
3598
|
9801: string;
|
|
@@ -4133,7 +4184,10 @@ declare const _default: {
|
|
|
4133
4184
|
}[])[];
|
|
4134
4185
|
packet_game_rules_changed: (string | {
|
|
4135
4186
|
name: string;
|
|
4136
|
-
type: string
|
|
4187
|
+
type: (string | {
|
|
4188
|
+
countType: string;
|
|
4189
|
+
type: string;
|
|
4190
|
+
})[];
|
|
4137
4191
|
}[])[];
|
|
4138
4192
|
packet_camera: (string | {
|
|
4139
4193
|
name: string;
|
|
@@ -5223,28 +5277,29 @@ declare const _default: {
|
|
|
5223
5277
|
name: string;
|
|
5224
5278
|
type: string;
|
|
5225
5279
|
}[])[];
|
|
5226
|
-
packet_player_armor_damage: (string |
|
|
5280
|
+
packet_player_armor_damage: (string | {
|
|
5227
5281
|
name: string;
|
|
5228
|
-
type: string
|
|
5229
|
-
|
|
5282
|
+
type: (string | {
|
|
5283
|
+
countType: string;
|
|
5284
|
+
type: string;
|
|
5285
|
+
})[];
|
|
5286
|
+
}[])[];
|
|
5287
|
+
ArmorDamageEntry: (string | ({
|
|
5230
5288
|
name: string;
|
|
5231
5289
|
type: (string | {
|
|
5232
|
-
|
|
5233
|
-
|
|
5234
|
-
|
|
5290
|
+
type: string;
|
|
5291
|
+
mappings: {
|
|
5292
|
+
0: string;
|
|
5293
|
+
1: string;
|
|
5294
|
+
2: string;
|
|
5295
|
+
3: string;
|
|
5296
|
+
4: string;
|
|
5235
5297
|
};
|
|
5236
5298
|
})[];
|
|
5237
|
-
}
|
|
5238
|
-
|
|
5299
|
+
} | {
|
|
5300
|
+
name: string;
|
|
5239
5301
|
type: string;
|
|
5240
|
-
|
|
5241
|
-
head: number;
|
|
5242
|
-
chest: number;
|
|
5243
|
-
legs: number;
|
|
5244
|
-
feet: number;
|
|
5245
|
-
body: number;
|
|
5246
|
-
};
|
|
5247
|
-
})[];
|
|
5302
|
+
})[])[];
|
|
5248
5303
|
packet_code_builder: (string | {
|
|
5249
5304
|
name: string;
|
|
5250
5305
|
type: string;
|
|
@@ -6199,6 +6254,36 @@ declare const _default: {
|
|
|
6199
6254
|
})[])[];
|
|
6200
6255
|
})[];
|
|
6201
6256
|
}[])[];
|
|
6257
|
+
packet_serverbound_pack_setting_change: (string | ({
|
|
6258
|
+
name: string;
|
|
6259
|
+
type: string;
|
|
6260
|
+
} | {
|
|
6261
|
+
name: string;
|
|
6262
|
+
type: (string | ({
|
|
6263
|
+
name: string;
|
|
6264
|
+
type: string;
|
|
6265
|
+
} | {
|
|
6266
|
+
name: string;
|
|
6267
|
+
type: (string | {
|
|
6268
|
+
type: string;
|
|
6269
|
+
mappings: {
|
|
6270
|
+
0: string;
|
|
6271
|
+
1: string;
|
|
6272
|
+
2: string;
|
|
6273
|
+
};
|
|
6274
|
+
})[];
|
|
6275
|
+
} | {
|
|
6276
|
+
name: string;
|
|
6277
|
+
type: (string | {
|
|
6278
|
+
compareTo: string;
|
|
6279
|
+
fields: {
|
|
6280
|
+
float: string;
|
|
6281
|
+
bool: string;
|
|
6282
|
+
string: string;
|
|
6283
|
+
};
|
|
6284
|
+
})[];
|
|
6285
|
+
})[])[];
|
|
6286
|
+
})[])[];
|
|
6202
6287
|
};
|
|
6203
6288
|
};
|
|
6204
6289
|
export default _default;
|
package/dist/protocol.js
CHANGED
|
@@ -174,7 +174,7 @@ exports.default = {
|
|
|
174
174
|
},
|
|
175
175
|
},
|
|
176
176
|
],
|
|
177
|
-
|
|
177
|
+
GameRuleI32: [
|
|
178
178
|
'container',
|
|
179
179
|
[
|
|
180
180
|
{
|
|
@@ -207,7 +207,7 @@ exports.default = {
|
|
|
207
207
|
compareTo: 'type',
|
|
208
208
|
fields: {
|
|
209
209
|
bool: 'bool',
|
|
210
|
-
int: '
|
|
210
|
+
int: 'li32',
|
|
211
211
|
float: 'lf32',
|
|
212
212
|
},
|
|
213
213
|
},
|
|
@@ -215,12 +215,46 @@ exports.default = {
|
|
|
215
215
|
},
|
|
216
216
|
],
|
|
217
217
|
],
|
|
218
|
-
|
|
219
|
-
'
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
218
|
+
GameRulesVarint: [
|
|
219
|
+
'container',
|
|
220
|
+
[
|
|
221
|
+
{
|
|
222
|
+
name: 'name',
|
|
223
|
+
type: 'string',
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
name: 'editable',
|
|
227
|
+
type: 'bool',
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
name: 'type',
|
|
231
|
+
type: [
|
|
232
|
+
'mapper',
|
|
233
|
+
{
|
|
234
|
+
type: 'varint',
|
|
235
|
+
mappings: {
|
|
236
|
+
1: 'bool',
|
|
237
|
+
2: 'int',
|
|
238
|
+
3: 'float',
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
name: 'value',
|
|
245
|
+
type: [
|
|
246
|
+
'switch',
|
|
247
|
+
{
|
|
248
|
+
compareTo: 'type',
|
|
249
|
+
fields: {
|
|
250
|
+
bool: 'bool',
|
|
251
|
+
int: 'varint',
|
|
252
|
+
float: 'lf32',
|
|
253
|
+
},
|
|
254
|
+
},
|
|
255
|
+
],
|
|
256
|
+
},
|
|
257
|
+
],
|
|
224
258
|
],
|
|
225
259
|
Blob: [
|
|
226
260
|
'container',
|
|
@@ -1043,6 +1077,7 @@ exports.default = {
|
|
|
1043
1077
|
'wasd_air_controlled',
|
|
1044
1078
|
'does_server_auth_only_dismount',
|
|
1045
1079
|
'body_rotation_always_follows_head',
|
|
1080
|
+
'can_use_vertical_movement_action',
|
|
1046
1081
|
],
|
|
1047
1082
|
},
|
|
1048
1083
|
],
|
|
@@ -1282,6 +1317,7 @@ exports.default = {
|
|
|
1282
1317
|
0: 'click_block',
|
|
1283
1318
|
1: 'click_air',
|
|
1284
1319
|
2: 'break_block',
|
|
1320
|
+
3: 'attack',
|
|
1285
1321
|
},
|
|
1286
1322
|
},
|
|
1287
1323
|
],
|
|
@@ -3793,7 +3829,7 @@ exports.default = {
|
|
|
3793
3829
|
35: 'Land',
|
|
3794
3830
|
36: 'Saddle',
|
|
3795
3831
|
37: 'Armor',
|
|
3796
|
-
38: '
|
|
3832
|
+
38: 'ArmorStandPlace',
|
|
3797
3833
|
39: 'AddChest',
|
|
3798
3834
|
40: 'Throw',
|
|
3799
3835
|
41: 'Attack',
|
|
@@ -3816,7 +3852,7 @@ exports.default = {
|
|
|
3816
3852
|
58: 'LargeBlast',
|
|
3817
3853
|
59: 'Twinkle',
|
|
3818
3854
|
60: 'Remedy',
|
|
3819
|
-
61: '
|
|
3855
|
+
61: 'Unfect',
|
|
3820
3856
|
62: 'LevelUp',
|
|
3821
3857
|
63: 'BowHit',
|
|
3822
3858
|
64: 'BulletHit',
|
|
@@ -4133,51 +4169,51 @@ exports.default = {
|
|
|
4133
4169
|
375: 'Listening',
|
|
4134
4170
|
376: 'Heartbeat',
|
|
4135
4171
|
377: 'HornBreak',
|
|
4136
|
-
378: '
|
|
4172
|
+
378: '_',
|
|
4137
4173
|
379: 'SculkSpread',
|
|
4138
4174
|
380: 'SculkCharge',
|
|
4139
4175
|
381: 'SculkSensorPlace',
|
|
4140
4176
|
382: 'SculkShriekerPlace',
|
|
4141
|
-
383: '
|
|
4142
|
-
384: '
|
|
4143
|
-
385: '
|
|
4144
|
-
386: '
|
|
4145
|
-
387: '
|
|
4146
|
-
388: '
|
|
4147
|
-
389: '
|
|
4148
|
-
390: '
|
|
4149
|
-
391: '
|
|
4150
|
-
392: '
|
|
4151
|
-
393: '
|
|
4152
|
-
394: '
|
|
4153
|
-
395: '
|
|
4154
|
-
396: '
|
|
4155
|
-
397: '
|
|
4156
|
-
398: '
|
|
4157
|
-
399: '
|
|
4158
|
-
400: '
|
|
4159
|
-
401: '
|
|
4160
|
-
402: '
|
|
4161
|
-
403: '
|
|
4162
|
-
404: '
|
|
4163
|
-
405: '
|
|
4164
|
-
406: '
|
|
4165
|
-
407: '
|
|
4166
|
-
408: '
|
|
4167
|
-
409: '
|
|
4168
|
-
410: '
|
|
4169
|
-
411: '
|
|
4170
|
-
412: '
|
|
4171
|
-
413: '
|
|
4172
|
-
414: '
|
|
4173
|
-
415: '
|
|
4174
|
-
416: '
|
|
4175
|
-
417: '
|
|
4176
|
-
418: '
|
|
4177
|
-
419: '
|
|
4178
|
-
420: '
|
|
4179
|
-
421: '
|
|
4180
|
-
422: '
|
|
4177
|
+
383: 'GoatCall0',
|
|
4178
|
+
384: 'GoatCall1',
|
|
4179
|
+
385: 'GoatCall2',
|
|
4180
|
+
386: 'GoatCall3',
|
|
4181
|
+
387: 'GoatCall4',
|
|
4182
|
+
388: 'GoatCall5',
|
|
4183
|
+
389: 'GoatCall6',
|
|
4184
|
+
390: 'GoatCall7',
|
|
4185
|
+
391: 'GoatCall8',
|
|
4186
|
+
392: 'GoatCall9',
|
|
4187
|
+
393: 'GoatHarmony0',
|
|
4188
|
+
394: 'GoatHarmony1',
|
|
4189
|
+
395: 'GoatHarmony2',
|
|
4190
|
+
396: 'GoatHarmony3',
|
|
4191
|
+
397: 'GoatHarmony4',
|
|
4192
|
+
398: 'GoatHarmony5',
|
|
4193
|
+
399: 'GoatHarmony6',
|
|
4194
|
+
400: 'GoatHarmony7',
|
|
4195
|
+
401: 'GoatHarmony8',
|
|
4196
|
+
402: 'GoatHarmony9',
|
|
4197
|
+
403: 'GoatMelody0',
|
|
4198
|
+
404: 'GoatMelody1',
|
|
4199
|
+
405: 'GoatMelody2',
|
|
4200
|
+
406: 'GoatMelody3',
|
|
4201
|
+
407: 'GoatMelody4',
|
|
4202
|
+
408: 'GoatMelody5',
|
|
4203
|
+
409: 'GoatMelody6',
|
|
4204
|
+
410: 'GoatMelody7',
|
|
4205
|
+
411: 'GoatMelody8',
|
|
4206
|
+
412: 'GoatMelody9',
|
|
4207
|
+
413: 'GoatBass0',
|
|
4208
|
+
414: 'GoatBass1',
|
|
4209
|
+
415: 'GoatBass2',
|
|
4210
|
+
416: 'GoatBass3',
|
|
4211
|
+
417: 'GoatBass4',
|
|
4212
|
+
418: 'GoatBass5',
|
|
4213
|
+
419: 'GoatBass6',
|
|
4214
|
+
420: 'GoatBass7',
|
|
4215
|
+
421: 'GoatBass8',
|
|
4216
|
+
422: 'GoatBass9',
|
|
4181
4217
|
423: '_',
|
|
4182
4218
|
424: '_',
|
|
4183
4219
|
425: '_',
|
|
@@ -4232,89 +4268,95 @@ exports.default = {
|
|
|
4232
4268
|
474: 'HoglinZombified',
|
|
4233
4269
|
475: 'AmbientUnderwaterEnter',
|
|
4234
4270
|
476: 'AmbientUnderwaterExit',
|
|
4235
|
-
477: '
|
|
4236
|
-
478: '
|
|
4237
|
-
479: '
|
|
4238
|
-
480: '
|
|
4239
|
-
481: '
|
|
4240
|
-
482: '
|
|
4241
|
-
483: '
|
|
4242
|
-
484: '
|
|
4243
|
-
485: '
|
|
4244
|
-
486: '
|
|
4245
|
-
487: '
|
|
4246
|
-
488: '
|
|
4247
|
-
489: '
|
|
4248
|
-
490: '
|
|
4249
|
-
491: '
|
|
4250
|
-
492: '
|
|
4251
|
-
493: '
|
|
4252
|
-
494: '
|
|
4253
|
-
495: '
|
|
4254
|
-
496: '
|
|
4255
|
-
497: '
|
|
4256
|
-
498: '
|
|
4257
|
-
499: '
|
|
4258
|
-
500: '
|
|
4259
|
-
501: '
|
|
4260
|
-
502: '
|
|
4261
|
-
503: '
|
|
4262
|
-
504: '
|
|
4263
|
-
505: '
|
|
4264
|
-
506: '
|
|
4265
|
-
507: '
|
|
4266
|
-
508: '
|
|
4267
|
-
509: '
|
|
4268
|
-
510: '
|
|
4269
|
-
511: '
|
|
4270
|
-
512: '
|
|
4271
|
-
513: '
|
|
4272
|
-
514: '
|
|
4273
|
-
515: '
|
|
4274
|
-
516: '
|
|
4275
|
-
517: '
|
|
4276
|
-
518: '
|
|
4277
|
-
519: '
|
|
4278
|
-
520: '
|
|
4279
|
-
521: '
|
|
4280
|
-
522: '
|
|
4281
|
-
523: '
|
|
4282
|
-
524: '
|
|
4283
|
-
525: '
|
|
4284
|
-
526: '
|
|
4285
|
-
527: '
|
|
4286
|
-
528: '
|
|
4287
|
-
529: '
|
|
4288
|
-
530: '
|
|
4289
|
-
531: '
|
|
4290
|
-
532: '
|
|
4291
|
-
533: '
|
|
4292
|
-
534: '
|
|
4293
|
-
535: '
|
|
4294
|
-
536: '
|
|
4295
|
-
537: '
|
|
4296
|
-
538: '
|
|
4297
|
-
539: '
|
|
4298
|
-
540: '
|
|
4299
|
-
541: '
|
|
4300
|
-
542: '
|
|
4301
|
-
543: '
|
|
4302
|
-
544: '
|
|
4303
|
-
545: '
|
|
4304
|
-
546: '
|
|
4305
|
-
547: '
|
|
4306
|
-
548: '
|
|
4307
|
-
549: '
|
|
4308
|
-
550: '
|
|
4309
|
-
551: '
|
|
4310
|
-
552: '
|
|
4311
|
-
553: '
|
|
4312
|
-
554: '
|
|
4313
|
-
555: '
|
|
4314
|
-
556: '
|
|
4315
|
-
557: '
|
|
4316
|
-
558: '
|
|
4317
|
-
559: '
|
|
4271
|
+
477: 'BottleFill',
|
|
4272
|
+
478: 'BottleEmpty',
|
|
4273
|
+
479: 'CrafterCraft',
|
|
4274
|
+
480: 'CrafterFail',
|
|
4275
|
+
481: 'DecoratedPotInsert',
|
|
4276
|
+
482: 'DecoratedPotInsertFail',
|
|
4277
|
+
483: 'CrafterDisableSlot',
|
|
4278
|
+
484: 'TrialSpawnerOpenShutter',
|
|
4279
|
+
485: 'TrialSpawnerEjectItem',
|
|
4280
|
+
486: 'TrialSpawnerDetectPlayer',
|
|
4281
|
+
487: 'TrialSpawnerSpawnMob',
|
|
4282
|
+
488: 'TrialSpawnerCloseShutter',
|
|
4283
|
+
489: 'TrialSpawnerAmbient',
|
|
4284
|
+
490: 'CopperBulbTurnOn',
|
|
4285
|
+
491: 'CopperBulbTurnOff',
|
|
4286
|
+
492: 'AmbientInAir',
|
|
4287
|
+
493: 'BreezeWindChargeBurst',
|
|
4288
|
+
494: 'ImitateBreeze',
|
|
4289
|
+
495: 'ArmadilloBrush',
|
|
4290
|
+
496: 'ArmadilloScuteDrop',
|
|
4291
|
+
497: 'EquipWolf',
|
|
4292
|
+
498: 'UnequipWolf',
|
|
4293
|
+
499: 'Reflect',
|
|
4294
|
+
500: 'VaultOpenShutter',
|
|
4295
|
+
501: 'VaultCloseShutter',
|
|
4296
|
+
502: 'VaultEjectItem',
|
|
4297
|
+
503: 'VaultInsertItem',
|
|
4298
|
+
504: 'VaultInsertItemFail',
|
|
4299
|
+
505: 'VaultAmbient',
|
|
4300
|
+
506: 'VaultActivate',
|
|
4301
|
+
507: 'VaultDeactive',
|
|
4302
|
+
508: 'HurtReduced',
|
|
4303
|
+
509: 'WindChargeBurst',
|
|
4304
|
+
510: 'ImitateBogged',
|
|
4305
|
+
511: 'WolfArmourCrack',
|
|
4306
|
+
512: 'WolfArmourBreak',
|
|
4307
|
+
513: 'WolfArmourRepair',
|
|
4308
|
+
514: 'MaceSmashAir',
|
|
4309
|
+
515: 'MaceSmashGround',
|
|
4310
|
+
516: 'TrialSpawnerChargeActivate',
|
|
4311
|
+
517: 'TrialSpawnerAmbientOminous',
|
|
4312
|
+
518: 'OminiousItemSpawnerSpawnItem',
|
|
4313
|
+
519: 'OminousBottleEndUse',
|
|
4314
|
+
520: 'MaceHeavySmashGround',
|
|
4315
|
+
521: 'OminousItemSpawnerSpawnItemBegin',
|
|
4316
|
+
522: '_',
|
|
4317
|
+
523: 'ApplyEffectBadOmen',
|
|
4318
|
+
524: 'ApplyEffectRaidOmen',
|
|
4319
|
+
525: 'ApplyEffectTrialOmen',
|
|
4320
|
+
526: 'OminousItemSpawnerAboutToSpawnItem',
|
|
4321
|
+
527: 'RecordCreator',
|
|
4322
|
+
528: 'RecordCreatorMusicBox',
|
|
4323
|
+
529: 'RecordPrecipice',
|
|
4324
|
+
530: 'VaultRejectRewardedPlayer',
|
|
4325
|
+
531: 'ImitateDrowned',
|
|
4326
|
+
532: 'ImitateCreaking',
|
|
4327
|
+
533: 'BundleInsertFailed',
|
|
4328
|
+
534: 'SpongeAbsorb',
|
|
4329
|
+
535: '_',
|
|
4330
|
+
536: 'BlockCreakingHeartTrail',
|
|
4331
|
+
537: 'CreakingHeartSpawn',
|
|
4332
|
+
538: 'Activate',
|
|
4333
|
+
539: 'Deactivate',
|
|
4334
|
+
540: 'Freeze',
|
|
4335
|
+
541: 'Unfreeze',
|
|
4336
|
+
542: 'Open',
|
|
4337
|
+
543: 'OpenLong',
|
|
4338
|
+
544: 'Close',
|
|
4339
|
+
545: 'CloseLong',
|
|
4340
|
+
546: 'ImitatePhantom',
|
|
4341
|
+
547: 'ImitateZoglin',
|
|
4342
|
+
548: 'ImitateGuardian',
|
|
4343
|
+
549: 'ImitateRavager',
|
|
4344
|
+
550: 'ImitatePillager',
|
|
4345
|
+
551: 'PlaceInWater',
|
|
4346
|
+
552: 'StateChange',
|
|
4347
|
+
553: 'ImitateHappyGhast',
|
|
4348
|
+
554: 'UniqueGeneric',
|
|
4349
|
+
555: 'RecordTears',
|
|
4350
|
+
556: 'TheEndLightFlash',
|
|
4351
|
+
557: 'LeadLeash',
|
|
4352
|
+
558: 'LeadUnleash',
|
|
4353
|
+
559: 'LeadBreak',
|
|
4354
|
+
560: 'Unsaddle',
|
|
4355
|
+
561: 'EquipCopper',
|
|
4356
|
+
562: 'RecordLavaChicken',
|
|
4357
|
+
563: 'PlaceItem',
|
|
4358
|
+
564: 'SingleItemSwap',
|
|
4359
|
+
565: 'MultiItemSwap',
|
|
4318
4360
|
},
|
|
4319
4361
|
},
|
|
4320
4362
|
],
|
|
@@ -4876,19 +4918,7 @@ exports.default = {
|
|
|
4876
4918
|
type: 'lf32',
|
|
4877
4919
|
},
|
|
4878
4920
|
{
|
|
4879
|
-
name: '
|
|
4880
|
-
type: 'lf32',
|
|
4881
|
-
},
|
|
4882
|
-
{
|
|
4883
|
-
name: 'blue_spore_density',
|
|
4884
|
-
type: 'lf32',
|
|
4885
|
-
},
|
|
4886
|
-
{
|
|
4887
|
-
name: 'ash_density',
|
|
4888
|
-
type: 'lf32',
|
|
4889
|
-
},
|
|
4890
|
-
{
|
|
4891
|
-
name: 'white_ash_density',
|
|
4921
|
+
name: 'snow_foliage',
|
|
4892
4922
|
type: 'lf32',
|
|
4893
4923
|
},
|
|
4894
4924
|
{
|
|
@@ -4979,6 +5009,13 @@ exports.default = {
|
|
|
4979
5009
|
'BiomeSurfaceMaterial',
|
|
4980
5010
|
],
|
|
4981
5011
|
},
|
|
5012
|
+
{
|
|
5013
|
+
name: 'has_default_overworld_surface',
|
|
5014
|
+
type: [
|
|
5015
|
+
'option',
|
|
5016
|
+
'bool',
|
|
5017
|
+
],
|
|
5018
|
+
},
|
|
4982
5019
|
{
|
|
4983
5020
|
name: 'has_swamp_surface',
|
|
4984
5021
|
type: 'bool',
|
|
@@ -5045,22 +5082,6 @@ exports.default = {
|
|
|
5045
5082
|
name: 'downfall',
|
|
5046
5083
|
type: 'lf32',
|
|
5047
5084
|
},
|
|
5048
|
-
{
|
|
5049
|
-
name: 'red_spore_density',
|
|
5050
|
-
type: 'lf32',
|
|
5051
|
-
},
|
|
5052
|
-
{
|
|
5053
|
-
name: 'blue_spore_density',
|
|
5054
|
-
type: 'lf32',
|
|
5055
|
-
},
|
|
5056
|
-
{
|
|
5057
|
-
name: 'ash_density',
|
|
5058
|
-
type: 'lf32',
|
|
5059
|
-
},
|
|
5060
|
-
{
|
|
5061
|
-
name: 'white_ash_density',
|
|
5062
|
-
type: 'lf32',
|
|
5063
|
-
},
|
|
5064
5085
|
{
|
|
5065
5086
|
name: 'snow_accumulation_min',
|
|
5066
5087
|
type: 'lf32',
|
|
@@ -5782,6 +5803,7 @@ exports.default = {
|
|
|
5782
5803
|
326: 'player_location',
|
|
5783
5804
|
327: 'clientbound_controls_scheme',
|
|
5784
5805
|
328: 'server_script_debug_drawer',
|
|
5806
|
+
329: 'serverbound_pack_setting_change',
|
|
5785
5807
|
},
|
|
5786
5808
|
},
|
|
5787
5809
|
],
|
|
@@ -6015,6 +6037,7 @@ exports.default = {
|
|
|
6015
6037
|
player_location: 'packet_player_location',
|
|
6016
6038
|
clientbound_controls_scheme: 'packet_clientbound_controls_scheme',
|
|
6017
6039
|
server_script_debug_drawer: 'packet_server_script_debug_drawer',
|
|
6040
|
+
serverbound_pack_setting_change: 'packet_serverbound_pack_setting_change',
|
|
6018
6041
|
},
|
|
6019
6042
|
},
|
|
6020
6043
|
],
|
|
@@ -6593,7 +6616,13 @@ exports.default = {
|
|
|
6593
6616
|
},
|
|
6594
6617
|
{
|
|
6595
6618
|
name: 'gamerules',
|
|
6596
|
-
type:
|
|
6619
|
+
type: [
|
|
6620
|
+
'array',
|
|
6621
|
+
{
|
|
6622
|
+
countType: 'varint',
|
|
6623
|
+
type: 'GameRuleVarint',
|
|
6624
|
+
},
|
|
6625
|
+
],
|
|
6597
6626
|
},
|
|
6598
6627
|
{
|
|
6599
6628
|
name: 'experiments',
|
|
@@ -7333,6 +7362,12 @@ exports.default = {
|
|
|
7333
7362
|
3613: 'particle_trial_spawner_ejecting',
|
|
7334
7363
|
3614: 'particle_wind_explosion',
|
|
7335
7364
|
3615: 'particle_wolf_armor_break',
|
|
7365
|
+
3616: 'ominous_item_spawner',
|
|
7366
|
+
3617: 'creaking_crumble',
|
|
7367
|
+
3618: 'pale_oak_leaves',
|
|
7368
|
+
3619: 'eyeblossom_open',
|
|
7369
|
+
3620: 'eyeblossom_close',
|
|
7370
|
+
3621: 'green_flame',
|
|
7336
7371
|
4000: 'set_data',
|
|
7337
7372
|
9800: 'players_sleeping',
|
|
7338
7373
|
9801: 'sleeping_players',
|
|
@@ -8682,7 +8717,13 @@ exports.default = {
|
|
|
8682
8717
|
[
|
|
8683
8718
|
{
|
|
8684
8719
|
name: 'rules',
|
|
8685
|
-
type:
|
|
8720
|
+
type: [
|
|
8721
|
+
'array',
|
|
8722
|
+
{
|
|
8723
|
+
countType: 'varint',
|
|
8724
|
+
type: 'GameRuleI32',
|
|
8725
|
+
},
|
|
8726
|
+
],
|
|
8686
8727
|
},
|
|
8687
8728
|
],
|
|
8688
8729
|
],
|
|
@@ -11641,84 +11682,42 @@ exports.default = {
|
|
|
11641
11682
|
'container',
|
|
11642
11683
|
[
|
|
11643
11684
|
{
|
|
11644
|
-
name: '
|
|
11645
|
-
type: 'ArmorDamageType',
|
|
11646
|
-
},
|
|
11647
|
-
{
|
|
11648
|
-
name: 'helmet_damage',
|
|
11649
|
-
type: [
|
|
11650
|
-
'switch',
|
|
11651
|
-
{
|
|
11652
|
-
compareTo: 'type.head',
|
|
11653
|
-
fields: {
|
|
11654
|
-
true: 'zigzag32',
|
|
11655
|
-
},
|
|
11656
|
-
},
|
|
11657
|
-
],
|
|
11658
|
-
},
|
|
11659
|
-
{
|
|
11660
|
-
name: 'chestplate_damage',
|
|
11661
|
-
type: [
|
|
11662
|
-
'switch',
|
|
11663
|
-
{
|
|
11664
|
-
compareTo: 'type.chest',
|
|
11665
|
-
fields: {
|
|
11666
|
-
true: 'zigzag32',
|
|
11667
|
-
},
|
|
11668
|
-
},
|
|
11669
|
-
],
|
|
11670
|
-
},
|
|
11671
|
-
{
|
|
11672
|
-
name: 'leggings_damage',
|
|
11685
|
+
name: 'entries',
|
|
11673
11686
|
type: [
|
|
11674
|
-
'
|
|
11687
|
+
'array',
|
|
11675
11688
|
{
|
|
11676
|
-
|
|
11677
|
-
|
|
11678
|
-
true: 'zigzag32',
|
|
11679
|
-
},
|
|
11689
|
+
countType: 'varint',
|
|
11690
|
+
type: 'ArmorDamageEntry',
|
|
11680
11691
|
},
|
|
11681
11692
|
],
|
|
11682
11693
|
},
|
|
11694
|
+
],
|
|
11695
|
+
],
|
|
11696
|
+
ArmorDamageEntry: [
|
|
11697
|
+
'container',
|
|
11698
|
+
[
|
|
11683
11699
|
{
|
|
11684
|
-
name: '
|
|
11700
|
+
name: 'armor_slot',
|
|
11685
11701
|
type: [
|
|
11686
|
-
'
|
|
11702
|
+
'mapper',
|
|
11687
11703
|
{
|
|
11688
|
-
|
|
11689
|
-
|
|
11690
|
-
|
|
11704
|
+
type: 'u8',
|
|
11705
|
+
mappings: {
|
|
11706
|
+
0: 'helmet',
|
|
11707
|
+
1: 'chestplate',
|
|
11708
|
+
2: 'leggings',
|
|
11709
|
+
3: 'boots',
|
|
11710
|
+
4: 'body',
|
|
11691
11711
|
},
|
|
11692
11712
|
},
|
|
11693
11713
|
],
|
|
11694
11714
|
},
|
|
11695
11715
|
{
|
|
11696
|
-
name: '
|
|
11697
|
-
type:
|
|
11698
|
-
'switch',
|
|
11699
|
-
{
|
|
11700
|
-
compareTo: 'type.body',
|
|
11701
|
-
fields: {
|
|
11702
|
-
true: 'zigzag32',
|
|
11703
|
-
},
|
|
11704
|
-
},
|
|
11705
|
-
],
|
|
11716
|
+
name: 'damage',
|
|
11717
|
+
type: 'li16',
|
|
11706
11718
|
},
|
|
11707
11719
|
],
|
|
11708
11720
|
],
|
|
11709
|
-
ArmorDamageType: [
|
|
11710
|
-
'bitflags',
|
|
11711
|
-
{
|
|
11712
|
-
type: 'u8',
|
|
11713
|
-
flags: {
|
|
11714
|
-
head: 1,
|
|
11715
|
-
chest: 2,
|
|
11716
|
-
legs: 4,
|
|
11717
|
-
feet: 8,
|
|
11718
|
-
body: 16,
|
|
11719
|
-
},
|
|
11720
|
-
},
|
|
11721
|
-
],
|
|
11722
11721
|
packet_code_builder: [
|
|
11723
11722
|
'container',
|
|
11724
11723
|
[
|
|
@@ -11999,7 +11998,10 @@ exports.default = {
|
|
|
11999
11998
|
},
|
|
12000
11999
|
{
|
|
12001
12000
|
name: 'angular_velocity',
|
|
12002
|
-
type:
|
|
12001
|
+
type: [
|
|
12002
|
+
'option',
|
|
12003
|
+
'lf32',
|
|
12004
|
+
],
|
|
12003
12005
|
},
|
|
12004
12006
|
{
|
|
12005
12007
|
name: 'on_ground',
|
|
@@ -14327,5 +14329,54 @@ exports.default = {
|
|
|
14327
14329
|
},
|
|
14328
14330
|
],
|
|
14329
14331
|
],
|
|
14332
|
+
packet_serverbound_pack_setting_change: [
|
|
14333
|
+
'container',
|
|
14334
|
+
[
|
|
14335
|
+
{
|
|
14336
|
+
name: 'pack_id',
|
|
14337
|
+
type: 'uuid',
|
|
14338
|
+
},
|
|
14339
|
+
{
|
|
14340
|
+
name: 'pack_setting',
|
|
14341
|
+
type: [
|
|
14342
|
+
'container',
|
|
14343
|
+
[
|
|
14344
|
+
{
|
|
14345
|
+
name: 'name',
|
|
14346
|
+
type: 'string',
|
|
14347
|
+
},
|
|
14348
|
+
{
|
|
14349
|
+
name: 'type',
|
|
14350
|
+
type: [
|
|
14351
|
+
'mapper',
|
|
14352
|
+
{
|
|
14353
|
+
type: 'u8',
|
|
14354
|
+
mappings: {
|
|
14355
|
+
0: 'float',
|
|
14356
|
+
1: 'bool',
|
|
14357
|
+
2: 'string',
|
|
14358
|
+
},
|
|
14359
|
+
},
|
|
14360
|
+
],
|
|
14361
|
+
},
|
|
14362
|
+
{
|
|
14363
|
+
name: 'value',
|
|
14364
|
+
type: [
|
|
14365
|
+
'switch',
|
|
14366
|
+
{
|
|
14367
|
+
compareTo: 'type',
|
|
14368
|
+
fields: {
|
|
14369
|
+
float: 'lf32',
|
|
14370
|
+
bool: 'bool',
|
|
14371
|
+
string: 'string',
|
|
14372
|
+
},
|
|
14373
|
+
},
|
|
14374
|
+
],
|
|
14375
|
+
},
|
|
14376
|
+
],
|
|
14377
|
+
],
|
|
14378
|
+
},
|
|
14379
|
+
],
|
|
14380
|
+
],
|
|
14330
14381
|
},
|
|
14331
14382
|
};
|