Uses of Record Class
net.minecraft.network.chat.MessageSignature
Package
Description
-
Uses of MessageSignature in net.minecraft.client
Modifier and TypeFieldDescriptionprivate final MessageSignature
GuiMessage.headerSignature
The field for theheaderSignature
record component.Modifier and TypeMethodDescriptionGuiMessage.headerSignature()
Returns the value of theheaderSignature
record component.ModifierConstructorDescriptionGuiMessage
(int addedTime, Component content, MessageSignature headerSignature, GuiMessageTag tag) Creates an instance of aGuiMessage
record class. -
Uses of MessageSignature in net.minecraft.client.gui.components
Modifier and TypeMethodDescriptionprivate void
ChatComponent.addMessage
(Component p_240562_, MessageSignature p_241566_, int p_240583_, GuiMessageTag p_240624_, boolean p_240558_) void
ChatComponent.addMessage
(Component p_241484_, MessageSignature p_241323_, GuiMessageTag p_241297_) void
ChatComponent.deleteMessage
(MessageSignature p_241324_) -
Uses of MessageSignature in net.minecraft.client.multiplayer.chat
Modifier and TypeFieldDescriptionprivate final MessageSignature
LoggedChatMessageLink.Header.headerSignature
The field for theheaderSignature
record component.Modifier and TypeMethodDescriptionLoggedChatMessage.Player.headerSignature()
LoggedChatMessageLink.Header.headerSignature()
Returns the value of theheaderSignature
record component.LoggedChatMessageLink.headerSignature()
Modifier and TypeMethodDescriptionvoid
ChatListener.handleChatHeader
(SignedMessageHeader p_241319_, MessageSignature p_241390_, byte[] p_241463_) static LoggedChatMessageLink.Header
LoggedChatMessageLink.header
(SignedMessageHeader p_242461_, MessageSignature p_242167_, byte[] p_242320_) private void
ChatListener.logPlayerHeader
(SignedMessageHeader p_241328_, MessageSignature p_241317_, byte[] p_241565_) (package private) boolean
ChatListener.processPlayerChatHeader
(SignedMessageHeader p_241363_, MessageSignature p_241535_, byte[] p_241500_) boolean
ChatListener.removeFromDelayedMessageQueue
(MessageSignature p_241445_) default boolean
ChatListener.Message.removeIfSignatureMatches
(MessageSignature p_242379_) ModifierConstructorDescriptionHeader
(SignedMessageHeader header, MessageSignature headerSignature, byte[] bodyDigest) Creates an instance of aHeader
record class. -
Uses of MessageSignature in net.minecraft.client.player
Modifier and TypeMethodDescriptionprivate MessageSignature
LocalPlayer.signMessage
(MessageSigner p_242224_, ChatMessageContent p_242260_, LastSeenMessages p_242299_) -
Uses of MessageSignature in net.minecraft.commands.arguments
Modifier and TypeFieldDescriptionprivate final MessageSignature
ArgumentSignatures.Entry.signature
The field for thesignature
record component.Modifier and TypeMethodDescriptionArgumentSignatures.Entry.signature()
Returns the value of thesignature
record component.ModifierConstructorDescriptionEntry
(String name, MessageSignature signature) Creates an instance of aEntry
record class. -
Uses of MessageSignature in net.minecraft.network.chat
Modifier and TypeFieldDescriptionstatic final MessageSignature
MessageSignature.EMPTY
private final MessageSignature
PlayerChatMessage.headerSignature
The field for theheaderSignature
record component.private final MessageSignature
LastSeenMessages.Entry.lastSignature
The field for thelastSignature
record component.private MessageSignature
SignedMessageValidator.KeyBased.lastSignature
private MessageSignature
SignedMessageChain.previousSignature
private final MessageSignature
SignedMessageHeader.previousSignature
The field for thepreviousSignature
record component.private final MessageSignature
SignedMessageChain.Link.signature
The field for thesignature
record component.Modifier and TypeMethodDescriptionPlayerChatMessage.headerSignature()
Returns the value of theheaderSignature
record component.LastSeenMessages.Entry.lastSignature()
Returns the value of thelastSignature
record component.private static MessageSignature
SignedMessageChain.pack
(Signer p_242255_, MessageSigner p_242258_, MessageSignature p_242378_, ChatMessageContent p_242185_, LastSeenMessages p_242456_) SignedMessageHeader.previousSignature()
Returns the value of thepreviousSignature
record component.SignedMessageChain.Link.signature()
Returns the value of thesignature
record component.Modifier and TypeMethodDescriptionprivate static MessageSignature
SignedMessageChain.pack
(Signer p_242255_, MessageSigner p_242258_, MessageSignature p_242378_, ChatMessageContent p_242185_, LastSeenMessages p_242456_) private static PlayerChatMessage
SignedMessageChain.unpack
(SignedMessageChain.Link p_242261_, MessageSignature p_242207_, MessageSigner p_242248_, ChatMessageContent p_242304_, LastSeenMessages p_242200_) private SignedMessageValidator.State
SignedMessageValidator.KeyBased.updateAndValidate
(SignedMessageHeader p_243211_, MessageSignature p_243274_, byte[] p_243209_, boolean p_243324_) private SignedMessageValidator.State
SignedMessageValidator.Unsigned.validate
(MessageSignature p_243292_) private boolean
SignedMessageValidator.KeyBased.validateChain
(SignedMessageHeader p_243280_, MessageSignature p_243215_, boolean p_243312_) private boolean
SignedMessageValidator.KeyBased.validateContents
(SignedMessageHeader p_243269_, MessageSignature p_243259_, byte[] p_243265_, boolean p_243221_) SignedMessageValidator.KeyBased.validateHeader
(SignedMessageHeader p_242886_, MessageSignature p_242853_, byte[] p_242869_) SignedMessageValidator.Unsigned.validateHeader
(SignedMessageHeader p_243299_, MessageSignature p_243315_, byte[] p_243252_) SignedMessageValidator.validateHeader
(SignedMessageHeader p_241472_, MessageSignature p_241508_, byte[] p_241320_) ModifierConstructorDescriptionEntry
(UUID profileId, MessageSignature lastSignature) Creates an instance of aEntry
record class.Link
(MessageSignature signature) Creates an instance of aLink
record class.PlayerChatMessage
(SignedMessageHeader signedHeader, MessageSignature headerSignature, SignedMessageBody signedBody, Optional<Component> unsignedContent, FilterMask filterMask) Creates an instance of aPlayerChatMessage
record class.SignedMessageHeader
(MessageSignature previousSignature, UUID sender) Creates an instance of aSignedMessageHeader
record class. -
Uses of MessageSignature in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final MessageSignature
ClientboundPlayerChatHeaderPacket.headerSignature
The field for theheaderSignature
record component.private final MessageSignature
ClientboundDeleteChatPacket.messageSignature
The field for themessageSignature
record component.private final MessageSignature
ServerboundChatPacket.signature
The field for thesignature
record component.Modifier and TypeMethodDescriptionClientboundPlayerChatHeaderPacket.headerSignature()
Returns the value of theheaderSignature
record component.ClientboundDeleteChatPacket.messageSignature()
Returns the value of themessageSignature
record component.ServerboundChatPacket.signature()
Returns the value of thesignature
record component.ModifierConstructorDescriptionClientboundDeleteChatPacket
(MessageSignature messageSignature) Creates an instance of aClientboundDeleteChatPacket
record class.ClientboundPlayerChatHeaderPacket
(SignedMessageHeader header, MessageSignature headerSignature, byte[] bodyDigest) Creates an instance of aClientboundPlayerChatHeaderPacket
record class.ServerboundChatPacket
(String message, Instant timeStamp, long salt, MessageSignature signature, boolean signedPreview, LastSeenMessages.Update lastSeenMessages) Creates an instance of aServerboundChatPacket
record class. -
Uses of MessageSignature in net.minecraft.server.level
Modifier and TypeMethodDescriptionvoid
ServerPlayer.sendChatHeader
(SignedMessageHeader p_241477_, MessageSignature p_241450_, byte[] p_241356_)