net.minecraft.network.protocol.game

public class ServerboundChatPacket

implements Packet<ServerGamePacketListener>

xb
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
public static final Duration
a
MESSAGE_EXPIRES_AFTER
field_39086
TIME_TO_LIVE
f_237949_
private final String
b
message
field_12764
chatMessage
f_133827_
private final Instant
c
timeStamp
field_39087
timestamp
f_237950_
private final Crypt$SaltSignaturePair
d
saltSignature
field_39088
signature
f_237951_
private final boolean
e
signedPreview
field_39390
previewed
f_237952_

Constructor summary

ModifierConstructor
public (String chatMessage, MessageSignature signature, boolean previewed)
public (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
public void
a(qx arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
public void
a(wv arg0)
handle(ServerGamePacketListener arg0)
method_12115(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
m_5797_(C_5145_ arg0)
public String
b()
getMessage()
method_12114()
getChatMessage()
m_133837_()
public MessageSignature
a(UUID arg0)
getSignature(UUID arg0)
method_43899(UUID arg0)
createSignatureInstance(UUID sender)
m_237958_(UUID arg0)
public Instant
c()
getTimeStamp()
method_44315()
getTimestamp()
m_237960_()
public boolean
d()
signedPreview()
method_44136()
isPreviewed()
m_237961_()