Skip to content

Commit

Permalink
Add basic class mappings for new packets added in 24w04a (#3761)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
wgaylord authored Jan 17, 2024
1 parent ef33717 commit 22ce794
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 22ce794

Please sign in to comment.