Uses of Record Class
net.minecraft.network.message.MessageHeader
Package
Description
-
Uses of MessageHeader 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. -
Uses of MessageHeader in net.minecraft.client.report.log
Modifier and TypeFieldDescriptionprivate final MessageHeader
HeaderEntry.Impl.header
The field for theheader
record component.Modifier and TypeMethodDescriptionHeaderEntry.header()
HeaderEntry.Impl.header()
ReceivedMessage.ChatMessage.header()
Modifier and TypeMethodDescriptionstatic HeaderEntry.Impl
HeaderEntry.of
(MessageHeader header, MessageSignatureData headerSignature, byte[] bodyDigest) ModifierConstructorDescriptionImpl
(MessageHeader messageHeader, MessageSignatureData messageSignatureData, byte[] byte2) -
Uses of MessageHeader in net.minecraft.network.message
Modifier and TypeFieldDescriptionprivate final MessageHeader
SignedMessage.signedHeader
The field for thesignedHeader
record component.Modifier and TypeMethodDescriptionSignedMessage.signedHeader()
Returns the value of thesignedHeader
record component.Modifier and TypeMethodDescriptionprivate MessageVerifier.Status
MessageVerifier.Impl.getStatus
(MessageHeader header, MessageSignatureData signature, byte[] bodyDigest, boolean fullMessage) boolean
MessageSignatureData.verify
(SignatureVerifier verifier, MessageHeader header, byte[] bodyDigest) Returns whether the signature data is verified.boolean
MessageSignatureData.verify
(SignatureVerifier verifier, MessageHeader header, MessageBody body) Returns whether the signature data is verified.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) ModifierConstructorDescriptionSignedMessage
(MessageHeader messageHeader, MessageSignatureData messageSignatureData, MessageBody messageBody, Optional<Text> optional, FilterMask filterMask) -
Uses of MessageHeader in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final MessageHeader
MessageHeaderS2CPacket.header
The field for theheader
record component.Modifier and TypeMethodDescriptionMessageHeaderS2CPacket.header()
Returns the value of theheader
record component.ModifierConstructorDescriptionMessageHeaderS2CPacket
(MessageHeader messageHeader, MessageSignatureData messageSignatureData, byte[] byte2) -
Uses of MessageHeader 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.