mirror of https://github.com/FabricMC/yarn.git
21 lines
1.0 KiB
Plaintext
21 lines
1.0 KiB
Plaintext
CLASS net/minecraft/class_2635 net/minecraft/network/packet/s2c/play/GameMessageS2CPacket
|
|
COMMENT A packet used to send a game message to the client.
|
|
COMMENT
|
|
COMMENT @see net.minecraft.server.network.ServerPlayerEntity#sendMessage(Text, MessageType, UUID)
|
|
COMMENT @see net.minecraft.client.network.ClientPlayNetworkHandler#onGameMessage
|
|
FIELD field_12112 message Lnet/minecraft/class_2561;
|
|
FIELD field_12113 type Lnet/minecraft/class_2556;
|
|
FIELD field_25133 sender Ljava/util/UUID;
|
|
METHOD <init> (Lnet/minecraft/class_2540;)V
|
|
ARG 1 buf
|
|
METHOD <init> (Lnet/minecraft/class_2561;Lnet/minecraft/class_2556;Ljava/util/UUID;)V
|
|
ARG 1 message
|
|
ARG 2 type
|
|
ARG 3 sender
|
|
METHOD method_11388 getMessage ()Lnet/minecraft/class_2561;
|
|
METHOD method_11389 getType ()Lnet/minecraft/class_2556;
|
|
METHOD method_29175 getSender ()Ljava/util/UUID;
|
|
COMMENT {@return {@linkplain net.minecraft.entity.Entity#getUuid the UUID of the
|
|
COMMENT entity} that sends the message or {@link net.minecraft.util.Util#NIL_UUID}
|
|
COMMENT if the message is not sent by an entity}
|