@@ -110,7 +110,8 @@ public enum Protocol
110
110
map ( ProtocolConstants .MINECRAFT_1_20_2 , 0x24 ),
111
111
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x26 ),
112
112
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x27 ),
113
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x26 )
113
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x26 ),
114
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x2B )
114
115
);
115
116
TO_CLIENT .registerPacket (
116
117
Login .class ,
@@ -129,7 +130,8 @@ public enum Protocol
129
130
map ( ProtocolConstants .MINECRAFT_1_20_2 , 0x29 ),
130
131
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x2B ),
131
132
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x2C ),
132
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x2B )
133
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x2B ),
134
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x30 )
133
135
);
134
136
TO_CLIENT .registerPacket (
135
137
Chat .class ,
@@ -164,7 +166,8 @@ public enum Protocol
164
166
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x45 ),
165
167
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x47 ),
166
168
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x4C ),
167
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x4B )
169
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x4B ),
170
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x50 )
168
171
);
169
172
TO_CLIENT .registerPacket (
170
173
BossBar .class ,
@@ -228,7 +231,8 @@ public enum Protocol
228
231
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x5C ),
229
232
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x5E ),
230
233
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x64 ),
231
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x63 )
234
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x63 ),
235
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x68 )
232
236
);
233
237
TO_CLIENT .registerPacket (
234
238
ScoreboardScore .class ,
@@ -248,15 +252,17 @@ public enum Protocol
248
252
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x5F ),
249
253
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x61 ),
250
254
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x68 ),
251
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x67 )
255
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x67 ),
256
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x6C )
252
257
);
253
258
TO_CLIENT .registerPacket (
254
259
ScoreboardScoreReset .class ,
255
260
ScoreboardScoreReset ::new ,
256
261
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x42 ),
257
262
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x44 ),
258
263
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x49 ),
259
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x48 )
264
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x48 ),
265
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x4D )
260
266
);
261
267
TO_CLIENT .registerPacket (
262
268
ScoreboardDisplay .class ,
@@ -276,7 +282,8 @@ public enum Protocol
276
282
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x55 ),
277
283
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x57 ),
278
284
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x5C ),
279
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x5B )
285
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x5B ),
286
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x60 )
280
287
);
281
288
TO_CLIENT .registerPacket (
282
289
Team .class ,
@@ -296,7 +303,8 @@ public enum Protocol
296
303
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x5E ),
297
304
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x60 ),
298
305
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x67 ),
299
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x66 )
306
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x66 ),
307
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x6B )
300
308
);
301
309
TO_CLIENT .registerPacket (
302
310
PluginMessage .class ,
@@ -334,7 +342,8 @@ public enum Protocol
334
342
map ( ProtocolConstants .MINECRAFT_1_19_4 , 0x1A ),
335
343
map ( ProtocolConstants .MINECRAFT_1_20_2 , 0x1B ),
336
344
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x1D ),
337
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x1C )
345
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x1C ),
346
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x20 )
338
347
);
339
348
TO_CLIENT .registerPacket (
340
349
Title .class ,
@@ -356,7 +365,8 @@ public enum Protocol
356
365
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x63 ),
357
366
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x65 ),
358
367
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x6C ),
359
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x6B )
368
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x6B ),
369
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x70 )
360
370
);
361
371
TO_CLIENT .registerPacket (
362
372
ClearTitles .class ,
@@ -382,7 +392,8 @@ public enum Protocol
382
392
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x61 ),
383
393
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x63 ),
384
394
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x6A ),
385
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x69 )
395
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x69 ),
396
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x6E )
386
397
);
387
398
TO_CLIENT .registerPacket (
388
399
TitleTimes .class ,
@@ -397,7 +408,8 @@ public enum Protocol
397
408
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x64 ),
398
409
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x66 ),
399
410
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x6D ),
400
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x6C )
411
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x6C ),
412
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x71 )
401
413
);
402
414
TO_CLIENT .registerPacket (
403
415
SystemChat .class ,
@@ -411,7 +423,8 @@ public enum Protocol
411
423
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x69 ),
412
424
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x6C ),
413
425
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x73 ),
414
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x72 )
426
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x72 ),
427
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x77 )
415
428
);
416
429
TO_CLIENT .registerPacket (
417
430
PlayerListHeaderFooter .class ,
@@ -436,7 +449,8 @@ public enum Protocol
436
449
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x6A ),
437
450
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x6D ),
438
451
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x74 ),
439
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x73 )
452
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x73 ),
453
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x78 )
440
454
);
441
455
TO_CLIENT .registerPacket (
442
456
EntityStatus .class ,
@@ -456,7 +470,8 @@ public enum Protocol
456
470
map ( ProtocolConstants .MINECRAFT_1_19_4 , 0x1C ),
457
471
map ( ProtocolConstants .MINECRAFT_1_20_2 , 0x1D ),
458
472
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x1F ),
459
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x1E )
473
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x1E ),
474
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x22 )
460
475
);
461
476
TO_CLIENT .registerPacket (
462
477
Commands .class ,
@@ -487,7 +502,8 @@ public enum Protocol
487
502
map ( ProtocolConstants .MINECRAFT_1_20_2 , 0x20 ),
488
503
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x22 ),
489
504
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x23 ),
490
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x22 )
505
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x22 ),
506
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x26 )
491
507
);
492
508
TO_CLIENT .registerPacket (
493
509
ViewDistance .class ,
@@ -505,7 +521,8 @@ public enum Protocol
505
521
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x53 ),
506
522
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x55 ),
507
523
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x59 ),
508
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x58 )
524
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x58 ),
525
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x5D )
509
526
);
510
527
TO_CLIENT .registerPacket (
511
528
ServerData .class ,
@@ -518,7 +535,8 @@ public enum Protocol
518
535
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x49 ),
519
536
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x4B ),
520
537
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x50 ),
521
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x4F )
538
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x4F ),
539
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x54 )
522
540
);
523
541
TO_CLIENT .registerPacket (
524
542
PlayerListItemRemove .class ,
@@ -528,7 +546,8 @@ public enum Protocol
528
546
map ( ProtocolConstants .MINECRAFT_1_20_2 , 0x3B ),
529
547
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x3D ),
530
548
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x3F ),
531
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x3E )
549
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x3E ),
550
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x43 )
532
551
);
533
552
TO_CLIENT .registerPacket (
534
553
PlayerListItemUpdate .class ,
@@ -538,7 +557,8 @@ public enum Protocol
538
557
map ( ProtocolConstants .MINECRAFT_1_20_2 , 0x3C ),
539
558
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x3E ),
540
559
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x40 ),
541
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x3F )
560
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x3F ),
561
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x44 )
542
562
);
543
563
TO_CLIENT .registerPacket (
544
564
StartConfiguration .class ,
@@ -547,7 +567,8 @@ public enum Protocol
547
567
map ( ProtocolConstants .MINECRAFT_1_20_3 , 0x67 ),
548
568
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x69 ),
549
569
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x70 ),
550
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x6F )
570
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x6F ),
571
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x74 )
551
572
);
552
573
TO_CLIENT .registerPacket (
553
574
CookieRequest .class ,
@@ -561,40 +582,46 @@ public enum Protocol
561
582
RegisterType .ENCODE ,
562
583
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x6B ),
563
584
map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x72 ),
564
- map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x71 )
585
+ map ( ProtocolConstants .MINECRAFT_1_21_5 , 0x71 ),
586
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x76 )
565
587
);
566
588
TO_CLIENT .registerPacket (
567
589
Transfer .class ,
568
590
Transfer ::new ,
569
591
RegisterType .ENCODE ,
570
592
map ( ProtocolConstants .MINECRAFT_1_20_5 , 0x73 ),
571
- map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x7A )
593
+ map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x7A ),
594
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x7F )
572
595
);
573
596
TO_CLIENT .registerPacket (
574
597
DisconnectReportDetails .class ,
575
598
DisconnectReportDetails ::new ,
576
599
RegisterType .ENCODE ,
577
600
map ( ProtocolConstants .MINECRAFT_1_21 , 0x7A ),
578
- map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x81 )
601
+ map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x81 ),
602
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x86 )
579
603
);
580
604
TO_CLIENT .registerPacket (
581
605
ServerLinks .class ,
582
606
ServerLinks ::new ,
583
607
RegisterType .ENCODE ,
584
608
map ( ProtocolConstants .MINECRAFT_1_21 , 0x7B ),
585
- map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x82 )
609
+ map ( ProtocolConstants .MINECRAFT_1_21_2 , 0x82 ),
610
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x87 )
586
611
);
587
612
TO_CLIENT .registerPacket (
588
613
ClearDialog .class ,
589
614
ClearDialog ::new ,
590
615
RegisterType .ENCODE ,
591
- map ( ProtocolConstants .MINECRAFT_1_21_6 , 0x84 )
616
+ map ( ProtocolConstants .MINECRAFT_1_21_6 , 0x84 ),
617
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x89 )
592
618
);
593
619
TO_CLIENT .registerPacket (
594
620
ShowDialog .class ,
595
621
ShowDialog ::new ,
596
622
RegisterType .ENCODE ,
597
- map ( ProtocolConstants .MINECRAFT_1_21_6 , 0x85 )
623
+ map ( ProtocolConstants .MINECRAFT_1_21_6 , 0x85 ),
624
+ map ( ProtocolConstants .MINECRAFT_1_21_9 , 0x8A )
598
625
);
599
626
600
627
TO_SERVER .registerPacket (
0 commit comments