Uses of Record Class
net.minecraft.network.message.MessageSignature
Packages that use MessageSignature
Package
Description
-
Uses of MessageSignature in net.minecraft.client.network
Methods in net.minecraft.client.network that return MessageSignatureModifier and TypeMethodDescriptionprivate MessageSignature
ClientPlayerEntity.signChatMessage
(ChatMessageSigner signer, Text message) Signs the chat message. -
Uses of MessageSignature in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as MessageSignatureModifier and TypeFieldDescriptionprivate final MessageSignature
MessageArgumentType.SignedMessage.signature
The field for thesignature
record component.Methods in net.minecraft.command.argument that return MessageSignatureModifier and TypeMethodDescriptionMessageArgumentType.SignedMessage.signature()
Returns the value of thesignature
record component.Constructors in net.minecraft.command.argument with parameters of type MessageSignatureModifierConstructorDescriptionSignedMessage
(String string, Text text, MessageSignature messageSignature, boolean bool) -
Uses of MessageSignature in net.minecraft.network.message
Fields in net.minecraft.network.message declared as MessageSignatureModifier and TypeFieldDescriptionprivate final MessageSignature
SignedMessage.signature
The field for thesignature
record component.Methods in net.minecraft.network.message that return MessageSignatureModifier and TypeMethodDescriptionCommandArgumentSigner.getArgumentSignature
(String argumentName) CommandArgumentSigner.Signatures.getArgumentSignature
(String argumentName) static MessageSignature
MessageSignature.none()
Returns the chat message signature obtained by signingmessage
withsignature
.Returns the chat message signature obtained by signingmessage
withsignature
.SignedMessage.signature()
Returns the value of thesignature
record component.Methods in net.minecraft.network.message with parameters of type MessageSignatureModifier and TypeMethodDescriptiondefault CompletableFuture<FilteredMessage<SignedMessage>>
MessageDecorator.decorateChat
(@Nullable ServerPlayerEntity sender, FilteredMessage<Text> message, MessageSignature signature, boolean previewed) Returns the decorated signed chat message from undecoratedmessage
.static SignedMessage
SignedMessage.of
(String signedContent, MessageSignature signature) Returns a new signed chat message withsignedContent
andsignature
.static SignedMessage
SignedMessage.of
(Text signedContent, MessageSignature signature) Returns a new signed chat message withsignedContent
andsignature
.static SignedMessage
SignedMessage.of
(Text originalContent, Text decoratedContent, MessageSignature signature, boolean previewed) Returns a new signed chat message from the content supplied by the chat decorator.static FilteredMessage<SignedMessage>
SignedMessage.toSignedMessage
(FilteredMessage<Text> original, FilteredMessage<Text> decorated, MessageSignature signature, boolean preview) Constructors in net.minecraft.network.message with parameters of type MessageSignatureModifierConstructorDescriptionSignedMessage
(Text text, MessageSignature messageSignature, Optional<Text> optional) -
Uses of MessageSignature in net.minecraft.network.packet.c2s.play
Methods in net.minecraft.network.packet.c2s.play that return MessageSignatureConstructors in net.minecraft.network.packet.c2s.play with parameters of type MessageSignatureModifierConstructorDescriptionChatMessageC2SPacket
(String chatMessage, MessageSignature signature, boolean previewed)