Add basic class mappings for new packets added in 24w04a (#3761)

* Add basic class mappings for new packets added in 24w04a

* Fix typo in CookieRequestResponse packet name

* Map CODEC field and write field in packets, also map MAX_COOKIE_LENGTH, move ServerTransfer Packet to correct package.

* Fix typo where packet direction was wrong in class name
This commit is contained in:
William Gaylord 2024-01-17 13:52:08 -06:00 committed by GitHub
parent ef33717267
commit 22ce794c12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,3 @@
CLASS net/minecraft/class_9091 net/minecraft/network/packet/c2s/common/CookieRequestResponseC2SPacket
FIELD field_47895 CODEC Lnet/minecraft/class_9139;
METHOD method_55853 write (Lnet/minecraft/class_2540;)V

View File

@ -0,0 +1,3 @@
CLASS net/minecraft/class_9088 net/minecraft/network/packet/s2c/common/CookieRequestS2CPacket
FIELD field_47892 CODEC Lnet/minecraft/class_9139;
METHOD method_55848 write (Lnet/minecraft/class_2540;)V

View File

@ -0,0 +1,3 @@
CLASS net/minecraft/class_9151 net/minecraft/network/packet/s2c/common/ServerTransferS2CPacket
FIELD field_48629 CODEC Lnet/minecraft/class_9139;
METHOD method_56469 write (Lnet/minecraft/class_2540;)V

View File

@ -0,0 +1,4 @@
CLASS net/minecraft/class_9150 net/minecraft/network/packet/s2c/common/StoreCookieS2CPacket
FIELD field_48627 CODEC Lnet/minecraft/class_9139;
FIELD field_48628 MAX_COOKIE_LENGTH I
METHOD method_56467 write (Lnet/minecraft/class_2540;)V