Uses of Record Class
net.minecraft.network.encryption.ChatMessageSignature
Package
Description
-
Uses of ChatMessageSignature in net.minecraft.client.network
Modifier and TypeMethodDescriptionprivate ChatMessageSignature
ClientPlayerEntity.signChatMessage
(ChatMessageSigner signer, Text message) Signs the chat message. -
Uses of ChatMessageSignature in net.minecraft.command.argument
Modifier and TypeFieldDescriptionprivate final ChatMessageSignature
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, ChatMessageSignature chatMessageSignature, boolean bool) -
Uses of ChatMessageSignature in net.minecraft.network
Modifier and TypeMethodDescriptionChatDecorator.decorateChat
(@Nullable ServerPlayerEntity sender, FilteredMessage<Text> message, ChatMessageSignature signature, boolean previewed) Returns the decorated signed chat message from undecoratedmessage
. -
Uses of ChatMessageSignature in net.minecraft.network.encryption
Modifier and TypeFieldDescriptionprivate final ChatMessageSignature
SignedChatMessage.signature
The field for thesignature
record component.Modifier and TypeMethodDescriptionCommandArgumentSigner.getArgumentSignature
(String argumentName) CommandArgumentSigner.Signatures.getArgumentSignature
(String argumentName) static ChatMessageSignature
ChatMessageSignature.none()
Returns the chat message signature obtained by signingmessage
withsignature
.Returns the chat message signature obtained by signingmessage
withsignature
.SignedChatMessage.signature()
Returns the value of thesignature
record component.Modifier and TypeMethodDescriptionstatic SignedChatMessage
SignedChatMessage.of
(String signedContent, ChatMessageSignature signature) Returns a new signed chat message withsignedContent
andsignature
.static SignedChatMessage
SignedChatMessage.of
(Text signedContent, ChatMessageSignature signature) Returns a new signed chat message withsignedContent
andsignature
.static SignedChatMessage
SignedChatMessage.of
(Text originalContent, Text decoratedContent, ChatMessageSignature signature, boolean previewed) Returns a new signed chat message from the content supplied by the chat decorator.static FilteredMessage<SignedChatMessage>
SignedChatMessage.toSignedMessage
(FilteredMessage<Text> original, FilteredMessage<Text> decorated, ChatMessageSignature signature, boolean preview) ModifierConstructorDescriptionSignedChatMessage
(Text text, ChatMessageSignature chatMessageSignature, Optional<Text> optional) -
Uses of ChatMessageSignature in net.minecraft.network.packet.c2s.play
ModifierConstructorDescriptionChatMessageC2SPacket
(String chatMessage, ChatMessageSignature signature, boolean previewed)