Uses of Record Class
net.minecraft.network.encryption.SignedChatMessage
Package
Description
-
Uses of SignedChatMessage in net.minecraft.client.network
Modifier and TypeMethodDescriptionprivate void
ClientPlayNetworkHandler.handleMessage
(MessageType type, SignedChatMessage signedChatMessage, MessageSender messageSender) Handles an incoming chat message.private boolean
ClientPlayNetworkHandler.isSignatureValid
(SignedChatMessage message, PlayerListEntry playerListEntry) Returns whether the chat message has a valid signature. -
Uses of SignedChatMessage in net.minecraft.command.argument
Modifier and TypeMethodDescriptionprivate @Nullable SignedChatMessage
MessageArgumentType.SignedMessage.method_44334
(FilteredMessage<SignedChatMessage> filteredMessage) Modifier and TypeMethodDescriptionMessageArgumentType.SignedMessage.decorate
(ServerCommandSource source) Modifier and TypeMethodDescriptionprivate void
MessageArgumentType.SignedMessage.logInvalidSignatureWarning
(ServerCommandSource source, SignedChatMessage signedChatMessage) Modifier and TypeMethodDescriptionprivate @Nullable SignedChatMessage
MessageArgumentType.SignedMessage.method_44334
(FilteredMessage<SignedChatMessage> filteredMessage) -
Uses of SignedChatMessage 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 SignedChatMessage in net.minecraft.network.encryption
Modifier 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.Modifier 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
-
Uses of SignedChatMessage in net.minecraft.server
Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionvoid
ServerPlayerEntity.sendChatMessage
(SignedChatMessage message, MessageSender sender, RegistryKey<MessageType> typeKey) Sends a chat message to the player.Modifier and TypeMethodDescriptionprivate void
ServerPlayNetworkHandler.handleDecoratedMessage
(FilteredMessage<SignedChatMessage> message)