Uses of Record Class
net.minecraft.network.encryption.ChatMessageSignature
Packages that use ChatMessageSignature
Package
Description
-
Uses of ChatMessageSignature in net.minecraft.client.network
Methods in net.minecraft.client.network that return ChatMessageSignatureModifier and TypeMethodDescriptionprivate ChatMessageSignature
ClientPlayerEntity.signChatMessage
(ChatMessageSigner signer, Text message) Signs the chat message. -
Uses of ChatMessageSignature in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as ChatMessageSignatureModifier and TypeFieldDescriptionprivate final ChatMessageSignature
MessageArgumentType.SignedMessage.signature
The field for thesignature
record component.Methods in net.minecraft.command.argument that return ChatMessageSignatureModifier and TypeMethodDescriptionMessageArgumentType.SignedMessage.signature()
Returns the value of thesignature
record component.Constructors in net.minecraft.command.argument with parameters of type ChatMessageSignatureModifierConstructorDescriptionSignedMessage
(Text text, ChatMessageSignature chatMessageSignature, boolean bool) -
Uses of ChatMessageSignature in net.minecraft.network
Methods in net.minecraft.network with parameters of type ChatMessageSignatureModifier 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
Fields in net.minecraft.network.encryption declared as ChatMessageSignatureModifier and TypeFieldDescriptionprivate final ChatMessageSignature
SignedChatMessage.signature
The field for thesignature
record component.Methods in net.minecraft.network.encryption that return ChatMessageSignatureModifier 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.Methods in net.minecraft.network.encryption with parameters of type ChatMessageSignatureModifier 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) Constructors in net.minecraft.network.encryption with parameters of type ChatMessageSignatureModifierConstructorDescriptionSignedChatMessage
(Text text, ChatMessageSignature chatMessageSignature, Optional<Text> optional) -
Uses of ChatMessageSignature in net.minecraft.network.packet.c2s.play
Methods in net.minecraft.network.packet.c2s.play that return ChatMessageSignatureConstructors in net.minecraft.network.packet.c2s.play with parameters of type ChatMessageSignatureModifierConstructorDescriptionChatMessageC2SPacket
(String chatMessage, ChatMessageSignature signature, boolean previewed)