Uses of Record Class
net.minecraft.network.message.MessageBody
-
Uses of MessageBody in net.minecraft.network.message
Modifier and TypeFieldDescriptionprivate final MessageBody
SignedMessage.signedBody
The field for thesignedBody
record component.Modifier and TypeMethodDescriptionSignedMessage.signedBody()
Returns the value of thesignedBody
record component.MessageBody.withContent
(DecoratedContents content) Returns a new message body with its content replaced withcontent
.Modifier and TypeMethodDescriptionboolean
MessageSignatureData.verify
(SignatureVerifier verifier, MessageHeader header, MessageBody body) Returns whether the signature data is verified.ModifierConstructorDescriptionSignedMessage
(MessageHeader messageHeader, MessageSignatureData messageSignatureData, MessageBody messageBody, Optional<Text> optional, FilterMask filterMask)