net.minecraft.network.chat

public record PlayerChatMessage

sd
net.minecraft.network.chat.PlayerChatMessage
net.minecraft.class_7471
net.minecraft.network.message.SignedMessage
net.minecraft.src.C_213510_
net.minecraft.network.chat.PlayerChatMessage

Field summary

Modifier and TypeField
private final SignedMessageHeader
c
signedHeader
comp_926
signedHeader
f_240875_
private final MessageSignature
d
headerSignature
comp_927
headerSignature
f_240893_
private final SignedMessageBody
e
signedBody
comp_928
signedBody
f_240885_
private final Optional<Component>
f
unsignedContent
comp_830
unsignedContent
f_237215_
private final FilterMask
g
filterMask
comp_981
filterMask
f_242992_
public static final Duration
a
MESSAGE_EXPIRES_AFTER_SERVER
field_39786
SERVERBOUND_TIME_TO_LIVE
f_240359_
public static final Duration
b
MESSAGE_EXPIRES_AFTER_CLIENT
field_39787
CLIENTBOUND_TIME_TO_LIVE
f_240369_

Constructor summary

ModifierConstructor
public (FriendlyByteBuf buf)
public (SignedMessageHeader f_240893_, MessageSignature f_240885_, SignedMessageBody f_237215_, Optional<Component> f_242992_, FilterMask arg4)

Method summary

Modifier and TypeMethod
public static PlayerChatMessage
a(ri arg0)
system(ChatMessageContent arg0)
method_45041(class_7634 arg0)
ofUnsigned(DecoratedContents content)
m_242673_(C_241585_ p_242910_)
public static PlayerChatMessage
a(sa arg0, ri arg1)
unsigned(MessageSigner arg0, ChatMessageContent arg1)
method_45098(class_7470 arg0, class_7634 arg1)
ofUnsigned(MessageMetadata metadata, DecoratedContents content)
m_243126_(C_213509_ p_243247_, C_241585_ p_243279_)
public void
a(qx arg0)
write(FriendlyByteBuf arg0)
method_44859(class_2540 arg0)
write(PacketByteBuf buf)
m_240965_(C_4983_ arg0)
public PlayerChatMessage
a(rq arg0)
withUnsignedContent(Component arg0)
method_44863(class_2561 arg0)
withUnsignedContent(Text unsignedContent)
m_241956_(C_4996_ arg0)
public PlayerChatMessage
a()
removeUnsignedContent()
method_44607()
withoutUnsigned()
m_239022_()
public PlayerChatMessage
a(rt arg0)
filter(FilterMask arg0)
method_45097(class_7649 arg0)
withFilterMask(FilterMask filterMask)
m_243072_(C_242983_ arg0)
public PlayerChatMessage
a(boolean arg0)
filter(boolean arg0)
method_45099(boolean arg0)
withFilterMaskEnabled(boolean enabled)
m_243098_(boolean arg0)
public boolean
a(amp arg0)
verify(SignatureValidator arg0)
method_44858(class_7500 arg0)
verify(SignatureVerifier verifier)
m_241121_(C_212977_ arg0)
public boolean
a(buf arg0)
verify(ProfilePublicKey arg0)
method_43867(class_7428 arg0)
verify(PlayerPublicKey key)
m_237228_(C_213070_ arg0)
public boolean
a(rl arg0)
verify(ChatSender arg0)
method_44310(class_7436 arg0)
verify(MessageSourceProfile profile)
m_241006_(C_213502_ arg0)
public ChatMessageContent
b()
signedContent()
method_44862()
getSignedContent()
m_241775_()
public Component
c()
serverContent()
method_44125()
getContent()
m_237220_()
public Instant
d()
timeStamp()
method_44864()
getTimestamp()
m_241109_()
public long
e()
salt()
method_44865()
getSalt()
m_241064_()
public boolean
a(Instant arg0)
hasExpiredServer(Instant arg0)
method_44747(Instant arg0)
isExpiredOnServer(Instant currentTime)
m_240431_(Instant arg0)
public boolean
b(Instant arg0)
hasExpiredClient(Instant arg0)
method_44748(Instant arg0)
isExpiredOnClient(Instant currentTime)
m_240414_(Instant arg0)
public MessageSigner
f()
signer()
method_44866()
createMetadata()
m_241067_()
public LastSeenMessages$Entry
g()
toLastSeenEntry()
method_44995()
toLastSeenMessageEntry()
m_241960_()
public boolean
a(UUID arg0)
hasSignatureFrom(UUID arg0)
method_45040(UUID arg0)
canVerifyFrom(UUID sender)
m_243088_(UUID arg0)
public boolean
h()
isFullyFiltered()
method_45100()
isFullyFiltered()
m_243059_()
public SignedMessageHeader
i()
signedHeader()
comp_926()
signedHeader()
f_240875_()
public MessageSignature
j()
headerSignature()
comp_927()
headerSignature()
f_240893_()
public SignedMessageBody
k()
signedBody()
comp_928()
signedBody()
f_240885_()
public Optional<Component>
l()
unsignedContent()
comp_830()
unsignedContent()
f_237215_()
public FilterMask
m()
filterMask()
comp_981()
filterMask()
f_242992_()