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