net.minecraft.network.protocol.game

public record ServerboundChatPacket

implements Packet<ServerGamePacketListener>

ago
net.minecraft.network.protocol.game.ServerboundChatPacket
net.minecraft.class_2797
net.minecraft.network.packet.c2s.play.ChatMessageC2SPacket
net.minecraft.network.protocol.game.PacketPlayInChat

Field summary

Modifier and TypeField
private final String
b
message
comp_945
chatMessage
private final Instant
c
timeStamp
comp_946
timestamp
private final long
d
salt
comp_947
salt
private final MessageSignature
e
signature
comp_948
signature
private final LastSeenMessages$Update
f
lastSeenMessages
comp_970
acknowledgment
public static final StreamCodec<FriendlyByteBuf, ServerboundChatPacket>
a
STREAM_CODEC
field_48179
CODEC

Constructor summary

ModifierConstructor
private (FriendlyByteBuf buf)
public (String arg0, Instant timestamp, long salt, MessageSignature signature, LastSeenMessages$Update arg4)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55965(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundChatPacket>
a()
type()
method_65080()
getPacketType()
public void
a(agg arg0)
handle(ServerGamePacketListener arg0)
method_12115(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public String
b()
message()
comp_945()
chatMessage()
public Instant
e()
timeStamp()
comp_946()
timestamp()
public long
f()
salt()
comp_947()
salt()
public MessageSignature
g()
signature()
comp_948()
signature()
public LastSeenMessages$Update
h()
lastSeenMessages()
comp_970()
acknowledgment()