net.minecraft.network.protocol.game

public record ServerboundChatPacket

implements Packet<ServerGamePacketListener>

agq
net.minecraft.network.protocol.game.ServerboundChatPacket
net.minecraft.class_2797
net.minecraft.network.packet.c2s.play.ChatMessageC2SPacket
net.minecraft.src.C_5149_
net.minecraft.network.protocol.game.PacketPlayInChat

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(vw arg0)
write(FriendlyByteBuf arg0)
method_55965(class_2540 arg0)
write(PacketByteBuf buf)
m_133838_(C_4983_ arg0)
public PacketType<ServerboundChatPacket>
a()
type()
method_55846()
getPacketId()
m_5779_()
public void
a(agi arg0)
handle(ServerGamePacketListener arg0)
method_12115(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public String
b()
message()
comp_945()
chatMessage()
f_133827_()
public Instant
e()
timeStamp()
comp_946()
timestamp()
f_237950_()
public long
f()
salt()
comp_947()
salt()
f_240906_()
public MessageSignature
g()
signature()
comp_948()
signature()
f_240898_()
public LastSeenMessages$Update
h()
lastSeenMessages()
comp_970()
acknowledgment()
f_241662_()