Uses of Record Class
net.minecraft.network.encryption.SignedChatMessage
Packages that use SignedChatMessage
Package
Description
-
Uses of SignedChatMessage in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type SignedChatMessageModifier and TypeMethodDescriptionprivate void
ClientPlayNetworkHandler.handleMessage
(MessageType type, SignedChatMessage message, MessageSender sender) Handles an incoming chat message.private boolean
ClientPlayNetworkHandler.isSignatureValid
(SignedChatMessage message) Returns whether the chat message has a valid signature. -
Uses of SignedChatMessage in net.minecraft.command.argument
Methods in net.minecraft.command.argument that return types with arguments of type SignedChatMessageModifier and TypeMethodDescriptionMessageArgumentType.SignedMessage.decorate
(ServerCommandSource source) private FilteredMessage<SignedChatMessage>
MessageArgumentType.SignedMessage.logInvalidSignatureWarning
(ServerCommandSource source, FilteredMessage<SignedChatMessage> decorated) Method parameters in net.minecraft.command.argument with type arguments of type SignedChatMessageModifier and TypeMethodDescriptionprivate FilteredMessage<SignedChatMessage>
MessageArgumentType.SignedMessage.logInvalidSignatureWarning
(ServerCommandSource source, FilteredMessage<SignedChatMessage> decorated) -
Uses of SignedChatMessage in net.minecraft.network
Methods in net.minecraft.network that return types with arguments of type SignedChatMessageModifier and TypeMethodDescriptionChatDecorator.decorateChat
(@Nullable ServerPlayerEntity sender, FilteredMessage<Text> message, ChatMessageSignature signature, boolean previewed) Returns the decorated signed chat message from undecoratedmessage
. -
Uses of SignedChatMessage in net.minecraft.network.encryption
Methods in net.minecraft.network.encryption that return SignedChatMessageModifier and TypeMethodDescriptionstatic SignedChatMessage
SignedChatMessage.of
(String signedContent, ChatMessageSignature signature) Returns a new signed chat message withsignedContent
andsignature
.static SignedChatMessage
Returns a new signed chat message withsignedContent
and "none" signature.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.SignedChatMessage.withUnsigned
(Text unsignedContent) Returns the new signed chat message withunsignedContent
added.Methods in net.minecraft.network.encryption that return types with arguments of type SignedChatMessageModifier and TypeMethodDescriptionstatic FilteredMessage<SignedChatMessage>
SignedChatMessage.toSignedMessage
(FilteredMessage<Text> original, FilteredMessage<Text> decorated, ChatMessageSignature signature, boolean preview) -
Uses of SignedChatMessage in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play that return SignedChatMessage -
Uses of SignedChatMessage in net.minecraft.server
Methods in net.minecraft.server with parameters of type SignedChatMessageModifier and TypeMethodDescriptionvoid
PlayerManager.broadcast
(SignedChatMessage message, Function<ServerPlayerEntity, SignedChatMessage> playerMessageFactory, MessageSender sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.void
PlayerManager.broadcast
(SignedChatMessage message, MessageSender sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.Method parameters in net.minecraft.server with type arguments of type SignedChatMessageModifier and TypeMethodDescriptionvoid
PlayerManager.broadcast
(SignedChatMessage message, Function<ServerPlayerEntity, SignedChatMessage> playerMessageFactory, MessageSender sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.void
PlayerManager.broadcast
(FilteredMessage<SignedChatMessage> message, ServerCommandSource source, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.void
PlayerManager.broadcast
(FilteredMessage<SignedChatMessage> message, ServerPlayerEntity sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console. -
Uses of SignedChatMessage in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type SignedChatMessageModifier and TypeMethodDescriptionvoid
ServerPlayerEntity.sendChatMessage
(SignedChatMessage message, MessageSender sender, RegistryKey<MessageType> typeKey) Sends a chat message to the player.Method parameters in net.minecraft.server.network with type arguments of type SignedChatMessageModifier and TypeMethodDescriptionprivate void
ServerPlayNetworkHandler.handleDecoratedMessage
(FilteredMessage<SignedChatMessage> message)