net.minecraft.network.protocol.game

public record ClientboundPlayerChatPacket

implements Packet<ClientGamePacketListener>

uo
net.minecraft.network.protocol.game.ClientboundPlayerChatPacket
net.minecraft.class_7438
net.minecraft.network.packet.s2c.play.ChatMessageS2CPacket
net.minecraft.src.C_213532_
net.minecraft.network.protocol.game.ClientboundPlayerChatPacket

Field summary

Modifier and TypeField
private final Component
a
signedContent
comp_833
signedContent
f_237732_
private final Optional<Component>
b
unsignedContent
comp_834
unsignedContent
f_237733_
private final int
c
typeId
comp_806
typeId
f_237734_
private final ChatSender
d
sender
comp_760
sender
f_237735_
private final Instant
e
timeStamp
comp_761
timestamp
f_237736_
private final Crypt$SaltSignaturePair
f
saltSignature
comp_762
saltSignature
f_237737_
private static final Duration
g
MESSAGE_EXPIRES_AFTER
field_39085
TIME_TO_LIVE
f_237738_

Constructor summary

ModifierConstructor
public (FriendlyByteBuf buf)
public (Component f_237733_, Optional<Component> f_237734_, int f_237735_, ChatSender f_237736_, Instant f_237737_, Crypt$SaltSignaturePair arg5)

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(sr arg0)
handle(ClientGamePacketListener arg0)
method_43629(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public boolean
a()
isSkippable()
method_11051()
isWritingErrorSkippable()
m_6588_()
public PlayerChatMessage
b()
getMessage()
method_43885()
getSignedMessage()
m_237760_()
private Instant
i()
getExpiresAt()
method_43630()
getExpiryTime()
m_237770_()
public boolean
a(Instant arg0)
hasExpired(Instant arg0)
method_43628(Instant arg0)
isExpired(Instant currentTime)
m_237752_(Instant arg0)
public ChatType
a(hm<rj> arg0)
resolveType(Registry<ChatType> arg0)
method_43884(class_2378<class_2556> arg0)
getMessageType(Registry<MessageType> registry)
m_237750_(C_4705_<C_4992_> arg0)
public Component
c()
signedContent()
comp_833()
signedContent()
f_237732_()
public Optional<Component>
d()
unsignedContent()
comp_834()
unsignedContent()
f_237733_()
public int
e()
typeId()
comp_806()
typeId()
f_237734_()
public ChatSender
f()
sender()
comp_760()
sender()
f_237735_()
public Instant
g()
timeStamp()
comp_761()
timestamp()
f_237736_()
public Crypt$SaltSignaturePair
h()
saltSignature()
comp_762()
saltSignature()
f_237737_()