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 TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<MessageBody>
MessageBody.CODEC
Modifier and TypeMethodDescriptionstatic MessageBody
MessageBody.ofUnsigned
(String content) SignedMessage.signedBody()
Returns the value of thesignedBody
record component.Modifier and TypeMethodDescriptionvoid
MessageSignatureStorage.add
(MessageBody body, @Nullable MessageSignatureData signature) MessageChain.Packer.pack
(MessageBody body) MessageChain.Unpacker.unpack
(@Nullable MessageSignatureData signature, MessageBody body) static void
SignedMessage.update
(SignatureUpdatable.SignatureUpdater updater, MessageLink link, MessageBody body) ModifierConstructorDescriptionSignedMessage
(MessageLink messageLink, @Nullable MessageSignatureData messageSignatureData, MessageBody messageBody, @Nullable Text text, FilterMask filterMask)