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 voidClientPlayNetworkHandler.handleMessage(MessageType type, SignedChatMessage message, MessageSender sender) Handles an incoming chat message.private booleanClientPlayNetworkHandler.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 SignedChatMessageSignedChatMessage.of(String signedContent, ChatMessageSignature signature) Returns a new signed chat message withsignedContentandsignature.static SignedChatMessageReturns a new signed chat message withsignedContentand "none" signature.static SignedChatMessageSignedChatMessage.of(Text signedContent, ChatMessageSignature signature) Returns a new signed chat message withsignedContentandsignature.static SignedChatMessageSignedChatMessage.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 withunsignedContentadded.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 TypeMethodDescriptionvoidPlayerManager.broadcast(SignedChatMessage message, Function<ServerPlayerEntity, SignedChatMessage> playerMessageFactory, MessageSender sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.voidPlayerManager.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 TypeMethodDescriptionvoidPlayerManager.broadcast(SignedChatMessage message, Function<ServerPlayerEntity, SignedChatMessage> playerMessageFactory, MessageSender sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.voidPlayerManager.broadcast(FilteredMessage<SignedChatMessage> message, ServerCommandSource source, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.voidPlayerManager.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 TypeMethodDescriptionvoidServerPlayerEntity.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 voidServerPlayNetworkHandler.handleDecoratedMessage(FilteredMessage<SignedChatMessage> message)