Uses of Record Class
net.minecraft.network.chat.SignedMessageBody
-
Uses of SignedMessageBody in net.minecraft.network.chat
Modifier and TypeFieldDescriptionprivate final SignedMessageBody
PlayerChatMessage.signedBody
The field for thesignedBody
record component.Modifier and TypeMethodDescriptionPlayerChatMessage.signedBody()
Returns the value of thesignedBody
record component.SignedMessageBody.withContent
(ChatMessageContent p_242907_) Modifier and TypeMethodDescriptionboolean
MessageSignature.verify
(SignatureValidator p_241501_, SignedMessageHeader p_241273_, SignedMessageBody p_241556_) ModifierConstructorDescriptionPlayerChatMessage
(SignedMessageHeader signedHeader, MessageSignature headerSignature, SignedMessageBody signedBody, Optional<Component> unsignedContent, FilterMask filterMask) Creates an instance of aPlayerChatMessage
record class.