Map UUID in GameMessageS2CPacket (#1466)

This commit is contained in:
Alexander 2020-06-15 19:39:46 +03:00 committed by GitHub
parent 8b19485c8a
commit 584cc58d8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 0 deletions

View File

@ -2,3 +2,4 @@ CLASS net/minecraft/class_334 net/minecraft/client/gui/ClientChatListener
METHOD method_1794 onChatMessage (Lnet/minecraft/class_2556;Lnet/minecraft/class_2561;Ljava/util/UUID;)V
ARG 1 messageType
ARG 2 message
ARG 3 senderUuid

View File

@ -61,6 +61,9 @@ CLASS net/minecraft/class_329 net/minecraft/client/gui/hud/InGameHud
METHOD method_17534 shouldRenderSpectatorCrosshair (Lnet/minecraft/class_239;)Z
METHOD method_1754 renderExperienceBar (Lnet/minecraft/class_4587;I)V
METHOD method_1755 addChatMessage (Lnet/minecraft/class_2556;Lnet/minecraft/class_2561;Ljava/util/UUID;)V
ARG 1 type
ARG 2 text
ARG 3 senderUuid
METHOD method_1756 getFontRenderer ()Lnet/minecraft/class_327;
METHOD method_1757 renderScoreboardSidebar (Lnet/minecraft/class_4587;Lnet/minecraft/class_266;)V
METHOD method_1758 setOverlayMessage (Lnet/minecraft/class_2561;Z)V

View File

@ -1,9 +1,12 @@
CLASS net/minecraft/class_2635 net/minecraft/network/packet/s2c/play/GameMessageS2CPacket
FIELD field_12112 message Lnet/minecraft/class_2561;
FIELD field_12113 location Lnet/minecraft/class_2556;
FIELD field_25133 senderUuid Ljava/util/UUID;
METHOD <init> (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556;Ljava/util/UUID;)V
ARG 1 message
ARG 2 location
ARG 3 senderUuid
METHOD method_11387 isNonChat ()Z
METHOD method_11388 getMessage ()Lnet/minecraft/class_2561;
METHOD method_11389 getLocation ()Lnet/minecraft/class_2556;
METHOD method_29175 getSenderUuid ()Ljava/util/UUID;

View File

@ -121,4 +121,6 @@ CLASS net/minecraft/class_3324 net/minecraft/server/PlayerManager
ARG 3 world
METHOD method_14616 broadcastChatMessage (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556;Ljava/util/UUID;)V
ARG 1 message
ARG 2 type
ARG 3 senderUuid
METHOD method_14617 saveAllPlayerData ()V

View File

@ -6,3 +6,4 @@ CLASS net/minecraft/class_2165 net/minecraft/server/command/CommandOutput
METHOD method_9202 shouldTrackOutput ()Z
METHOD method_9203 sendSystemMessage (Lnet/minecraft/class_2561;Ljava/util/UUID;)V
ARG 1 message
ARG 2 senderUuid

View File

@ -102,6 +102,7 @@ CLASS net/minecraft/class_3222 net/minecraft/server/network/ServerPlayerEntity
METHOD method_14254 sendMessage (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556;Ljava/util/UUID;)V
ARG 1 message
ARG 2 type
ARG 3 senderUuid
METHOD method_14255 sendResourcePackUrl (Ljava/lang/String;Ljava/lang/String;)V
ARG 1 url
ARG 2 hash