Uses of Record Class
net.minecraft.network.message.MessageSignature
Package
Description
-
Uses of MessageSignature in net.minecraft.client.network
Modifier and TypeMethodDescriptionprivate MessageSignature
ClientPlayerEntity.signChatMessage
(ChatMessageSigner signer, Text message) Signs the chat message. -
Uses of MessageSignature in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final MessageSignature
MessageArgumentType.SignedMessage.signature
The field for thesignature
record component.Modifier and TypeMethodDescriptionMessageArgumentType.SignedMessage.signature()
Returns the value of thesignature
record component.ModifierConstructorDescriptionSignedMessage
(String string, Text text, MessageSignature messageSignature, boolean bool) -
Uses of MessageSignature in net.minecraft.network.message
Modifier and TypeFieldDescriptionprivate final MessageSignature
SignedMessage.signature
The field for thesignature
record component.Modifier 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.Modifier 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) ModifierConstructorDescriptionSignedMessage
(Text text, MessageSignature messageSignature, Optional<Text> optional) -
Uses of MessageSignature in net.minecraft.network.packet.c2s.play
ModifierConstructorDescriptionChatMessageC2SPacket
(String chatMessage, MessageSignature signature, boolean previewed)