net.minecraft.network.chat

public record PlayerChatMessage

yl
net.minecraft.network.chat.PlayerChatMessage
net.minecraft.class_7471
net.minecraft.network.message.SignedMessage
net.minecraft.network.chat.PlayerChatMessage

Field summary

Modifier and TypeField
private final SignedMessageLink
d
link
comp_1083
link
private final MessageSignature
e
signature
comp_1084
signature
private final SignedMessageBody
f
signedBody
comp_928
signedBody
private final Component
g
unsignedContent
comp_830
unsignedContent
private final FilterMask
h
filterMask
comp_981
filterMask
public static final com.mojang.serialization.MapCodec<PlayerChatMessage>
a
MAP_CODEC
field_40846
CODEC
private static final UUID
i
SYSTEM_SENDER
field_40688
NIL_UUID
public static final Duration
b
MESSAGE_EXPIRES_AFTER_SERVER
field_39786
SERVERBOUND_TIME_TO_LIVE
public static final Duration
c
MESSAGE_EXPIRES_AFTER_CLIENT
field_39787
CLIENTBOUND_TIME_TO_LIVE

Constructor summary

ModifierConstructor
public (SignedMessageLink arg0, MessageSignature arg1, SignedMessageBody arg2, Component arg3, FilterMask arg4)

Method summary

Modifier and TypeMethod
public static PlayerChatMessage
a(String arg0)
system(String arg0)
method_45041(String arg0)
ofUnsigned(String content)
public static PlayerChatMessage
a(UUID arg0, String arg1)
unsigned(UUID arg0, String arg1)
method_45098(UUID arg0, String arg1)
ofUnsigned(UUID sender, String content)
public PlayerChatMessage
a(xv arg0)
withUnsignedContent(Component arg0)
method_44863(class_2561 arg0)
withUnsignedContent(Text unsignedContent)
public PlayerChatMessage
a()
removeUnsignedContent()
method_44607()
withoutUnsigned()
public PlayerChatMessage
a(xz arg0)
filter(FilterMask arg0)
method_45097(class_7649 arg0)
withFilterMask(FilterMask filterMask)
public PlayerChatMessage
a(boolean arg0)
filter(boolean arg0)
method_45099(boolean arg0)
withFilterMaskEnabled(boolean enabled)
public PlayerChatMessage
b()
removeSignature()
method_55625()
stripSignature()
public static void
a(baq$a arg0, yq arg1, yo 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)
public boolean
a(bar arg0)
verify(SignatureValidator arg0)
method_44858(class_7500 arg0)
verify(SignatureVerifier verifier)
public String
c()
signedContent()
method_44862()
getSignedContent()
public Component
d()
decoratedContent()
method_46291()
getContent()
public Instant
e()
timeStamp()
method_44864()
getTimestamp()
public long
f()
salt()
method_44865()
getSalt()
public boolean
a(Instant arg0)
hasExpiredServer(Instant arg0)
method_44747(Instant arg0)
isExpiredOnServer(Instant currentTime)
public boolean
b(Instant arg0)
hasExpiredClient(Instant arg0)
method_44748(Instant arg0)
isExpiredOnClient(Instant currentTime)
public UUID
g()
sender()
method_46292()
getSender()
public boolean
h()
isSystem()
method_46293()
isSenderMissing()
public boolean
i()
hasSignature()
method_46294()
hasSignature()
public boolean
a(UUID arg0)
hasSignatureFrom(UUID arg0)
method_45040(UUID arg0)
canVerifyFrom(UUID sender)
public boolean
j()
isFullyFiltered()
method_45100()
isFullyFiltered()
public SignedMessageLink
k()
link()
comp_1083()
link()
public MessageSignature
l()
signature()
comp_1084()
signature()
public SignedMessageBody
m()
signedBody()
comp_928()
signedBody()
public Component
n()
unsignedContent()
comp_830()
unsignedContent()
public FilterMask
o()
filterMask()
comp_981()
filterMask()