net.minecraft.network.chat

public record PlayerChatMessage

xp
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 SignedMessageLink
d
link
comp_1083
link
f_243882_
private final MessageSignature
e
signature
comp_1084
signature
f_244279_
private final SignedMessageBody
f
signedBody
comp_928
signedBody
f_240885_
private final Component
g
unsignedContent
comp_830
unsignedContent
f_237215_
private final FilterMask
h
filterMask
comp_981
filterMask
f_242992_
public static final com.mojang.serialization.MapCodec<PlayerChatMessage>
a
MAP_CODEC
field_40846
CODEC
f_252410_
private static final UUID
i
SYSTEM_SENDER
field_40688
NIL_UUID
f_243787_
public static final Duration
b
MESSAGE_EXPIRES_AFTER_SERVER
field_39786
SERVERBOUND_TIME_TO_LIVE
f_240359_
public static final Duration
c
MESSAGE_EXPIRES_AFTER_CLIENT
field_39787
CLIENTBOUND_TIME_TO_LIVE
f_240369_

Constructor summary

ModifierConstructor
public (SignedMessageLink signature, MessageSignature signedBody, SignedMessageBody unsignedContent, Component filterMask, FilterMask arg4)

Method summary

Modifier and TypeMethod
public static PlayerChatMessage
a(String arg0)
system(String arg0)
method_45041(String arg0)
ofUnsigned(String content)
m_247306_(String p_249209_)
public static PlayerChatMessage
a(UUID arg0, String arg1)
unsigned(UUID arg0, String arg1)
method_45098(UUID arg0, String arg1)
ofUnsigned(UUID sender, String content)
m_247615_(UUID p_251783_, String p_251615_)
public PlayerChatMessage
a(wz 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(xd 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 PlayerChatMessage
b()
removeSignature()
method_55625()
stripSignature()
m_307107_()
public static void
a(aza$a arg0, xu arg1, xs arg2)
updateSignature(SignatureUpdater$Output arg0, SignedMessageLink arg1, SignedMessageBody arg2)
method_46290(class_7498$class_7499 arg0, class_7826 arg1, class_7608 arg2)
update(SignatureUpdatable$SignatureUpdater updater, MessageLink link, MessageBody body)
m_245322_(C_212975_$C_212976_ p_250661_, C_243628_ p_248621_, C_240836_ p_248823_)
public boolean
a(azb arg0)
verify(SignatureValidator arg0)
method_44858(class_7500 arg0)
verify(SignatureVerifier verifier)
m_241121_(C_212977_ arg0)
public String
c()
signedContent()
method_44862()
getSignedContent()
m_245728_()
public Component
d()
decoratedContent()
method_46291()
getContent()
m_245692_()
public Instant
e()
timeStamp()
method_44864()
getTimestamp()
m_241109_()
public long
f()
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 UUID
g()
sender()
method_46292()
getSender()
m_245167_()
public boolean
h()
isSystem()
method_46293()
isSenderMissing()
m_245339_()
public boolean
i()
hasSignature()
method_46294()
hasSignature()
m_245272_()
public boolean
a(UUID arg0)
hasSignatureFrom(UUID arg0)
method_45040(UUID arg0)
canVerifyFrom(UUID sender)
m_243088_(UUID arg0)
public boolean
j()
isFullyFiltered()
method_45100()
isFullyFiltered()
m_243059_()
public SignedMessageLink
k()
link()
comp_1083()
link()
f_243882_()
public MessageSignature
l()
signature()
comp_1084()
signature()
f_244279_()
public SignedMessageBody
m()
signedBody()
comp_928()
signedBody()
f_240885_()
public Component
n()
unsignedContent()
comp_830()
unsignedContent()
f_237215_()
public FilterMask
o()
filterMask()
comp_981()
filterMask()
f_242992_()