Map the ChatPreviewStateChangeS2CPacket class (#3162)

* Map the ChatPreviewStateChangeS2CPacket class

* Rename the ClientPlayPacketListener#onChatPreviewEnabled method to onChatPreviewStateChange
This commit is contained in:
haykam821 2022-05-24 03:57:20 -04:00 committed by GitHub
parent 760580938e
commit 9813bf485c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -205,3 +205,5 @@ CLASS net/minecraft/class_2602 net/minecraft/network/listener/ClientPlayPacketLi
ARG 1 packet
METHOD method_44075 onServerMetadata (Lnet/minecraft/class_7495;)V
ARG 1 packet
METHOD method_44286 onChatPreviewStateChange (Lnet/minecraft/class_7519;)V
ARG 1 packet

View File

@ -0,0 +1,3 @@
CLASS net/minecraft/class_7519 net/minecraft/network/packet/s2c/play/ChatPreviewStateChangeS2CPacket
METHOD <init> (Lnet/minecraft/class_2540;)V
ARG 1 buf