Uses of Record Class
net.minecraft.network.message.MessageSignatureData
Package
Description
-
Uses of MessageSignatureData in net.minecraft.client.gui.hud
Modifier and TypeFieldDescriptionprivate final @Nullable MessageSignatureData
ChatHudLine.headerSignature
The field for theheaderSignature
record component.Modifier and TypeMethodDescriptionChatHudLine.headerSignature()
Returns the value of theheaderSignature
record component.Modifier and TypeMethodDescriptionprivate void
ChatHud.addMessage
(Text message, @Nullable MessageSignatureData signature, int ticks, @Nullable MessageIndicator indicator, boolean refresh) void
ChatHud.addMessage
(Text message, @Nullable MessageSignatureData signature, @Nullable MessageIndicator indicator) void
ChatHud.hideMessage
(MessageSignatureData signature) ModifierConstructorDescriptionChatHudLine
(int creationTick, Text text, @Nullable MessageSignatureData messageSignatureData, @Nullable MessageIndicator messageIndicator) -
Uses of MessageSignatureData in net.minecraft.client.network
Modifier and TypeMethodDescriptionprivate MessageSignatureData
ClientPlayerEntity.signChatMessage
(MessageMetadata metadata, DecoratedContents content, LastSeenMessageList lastSeenMessages) Signs the chat message. -
Uses of MessageSignatureData in net.minecraft.client.network.message
Modifier and TypeMethodDescriptionprivate void
MessageHandler.addToChatLog
(MessageHeader header, MessageSignatureData signatures, byte[] bodyDigest) void
MessageHandler.onMessageHeader
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest) Called when a message header is received.(package private) boolean
MessageHandler.processHeader
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest) Processes a received message header.boolean
MessageHandler.removeDelayedMessage
(MessageSignatureData signature) Removes a delayed message whose signature matchessignature
.default boolean
MessageHandler.ProcessableMessage.removeMatching
(MessageSignatureData signature) Ifsignature
equals this message's signature, marks this as processed and returnstrue
. -
Uses of MessageSignatureData in net.minecraft.client.report.log
Modifier and TypeFieldDescriptionprivate final MessageSignatureData
HeaderEntry.Impl.headerSignature
The field for theheaderSignature
record component.Modifier and TypeMethodDescriptionHeaderEntry.headerSignature()
HeaderEntry.Impl.headerSignature()
ReceivedMessage.ChatMessage.headerSignature()
Modifier and TypeMethodDescriptionstatic HeaderEntry.Impl
HeaderEntry.of
(MessageHeader header, MessageSignatureData headerSignature, byte[] bodyDigest) ModifierConstructorDescriptionImpl
(MessageHeader messageHeader, MessageSignatureData messageSignatureData, byte[] byte2) -
Uses of MessageSignatureData in net.minecraft.network.message
Modifier and TypeFieldDescriptionstatic final MessageSignatureData
MessageSignatureData.EMPTY
private final MessageSignatureData
SignedMessage.headerSignature
The field for theheaderSignature
record component.private final MessageSignatureData
LastSeenMessageList.Entry.lastSignature
The field for thelastSignature
record component.private @Nullable MessageSignatureData
MessageChain.precedingSignature
private final @Nullable MessageSignatureData
MessageHeader.precedingSignature
The field for theprecedingSignature
record component.private @Nullable MessageSignatureData
MessageVerifier.Impl.precedingSignature
private final MessageSignatureData
ArgumentSignatureDataMap.Entry.signature
The field for thesignature
record component.private final MessageSignatureData
MessageChain.Signature.signature
The field for thesignature
record component.Modifier and TypeMethodDescriptionReturns the signature data forargumentName
, ornull
if the argument name is not present in this signatures.SignedMessage.headerSignature()
Returns the value of theheaderSignature
record component.LastSeenMessageList.Entry.lastSignature()
Returns the value of thelastSignature
record component.MessageHeader.precedingSignature()
Returns the value of theprecedingSignature
record component.private static MessageSignatureData
MessageChain.sign
(Signer signer, MessageMetadata metadata, @Nullable MessageSignatureData precedingSignature, DecoratedContents contents, LastSeenMessageList lastSeenMessages) ArgumentSignatureDataMap.Entry.signature()
Returns the value of thesignature
record component.MessageChain.Signature.signature()
Returns the value of thesignature
record component.Modifier and TypeMethodDescriptionprivate static SignedMessage
MessageChain.createMessage
(MessageChain.Signature signature, @Nullable MessageSignatureData precedingSignature, MessageMetadata metadata, DecoratedContents contents, LastSeenMessageList lastSeenMessage) private MessageVerifier.Status
MessageVerifier.Impl.getStatus
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest, boolean fullMessage) private MessageVerifier.Status
MessageVerifier.Unsigned.getStatus
(MessageSignatureData signature) private static MessageSignatureData
MessageChain.sign
(Signer signer, MessageMetadata metadata, @Nullable MessageSignatureData precedingSignature, DecoratedContents contents, LastSeenMessageList lastSeenMessages) MessageVerifier.Impl.verify
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest) Returns the status of verifying the header.MessageVerifier.Unsigned.verify
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest) Returns the status of verifying the header.MessageVerifier.verify
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest) Returns the status of verifying the header.private boolean
MessageVerifier.Impl.verifyInternal
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest, boolean fullMessage) private boolean
MessageVerifier.Impl.verifyPrecedingSignature
(MessageHeader header, MessageSignatureData signature, boolean fullMessage) ModifierConstructorDescriptionEntry
(String string, MessageSignatureData messageSignatureData) Entry
(UUID uUID, MessageSignatureData messageSignatureData) MessageHeader
(@Nullable MessageSignatureData messageSignatureData, UUID uUID) Signature
(MessageSignatureData messageSignatureData) SignedMessage
(MessageHeader messageHeader, MessageSignatureData messageSignatureData, MessageBody messageBody, Optional<Text> optional, FilterMask filterMask) -
Uses of MessageSignatureData in net.minecraft.network.packet.c2s.play
Modifier and TypeFieldDescriptionprivate final MessageSignatureData
ChatMessageC2SPacket.signature
The field for thesignature
record component.Modifier and TypeMethodDescriptionChatMessageC2SPacket.signature()
Returns the value of thesignature
record component.ModifierConstructorDescriptionChatMessageC2SPacket
(String string, Instant timestamp, long salt, MessageSignatureData signature, boolean signedPreview, LastSeenMessageList.Acknowledgment acknowledgment) -
Uses of MessageSignatureData in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final MessageSignatureData
MessageHeaderS2CPacket.headerSignature
The field for theheaderSignature
record component.private final MessageSignatureData
HideMessageS2CPacket.messageSignature
The field for themessageSignature
record component.Modifier and TypeMethodDescriptionMessageHeaderS2CPacket.headerSignature()
Returns the value of theheaderSignature
record component.HideMessageS2CPacket.messageSignature()
Returns the value of themessageSignature
record component.ModifierConstructorDescriptionHideMessageS2CPacket
(MessageSignatureData messageSignatureData) MessageHeaderS2CPacket
(MessageHeader messageHeader, MessageSignatureData messageSignatureData, byte[] byte2) -
Uses of MessageSignatureData in net.minecraft.server.network
Modifier and TypeMethodDescriptionvoid
ServerPlayerEntity.sendMessageHeader
(MessageHeader header, MessageSignatureData headerSignature, byte[] bodyDigest) Sends a message's header and other data required for verification to this player.