Uses of Record Class
net.minecraft.network.message.SignedMessage
Packages that use SignedMessage
Package
Description
-
Uses of SignedMessage in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type SignedMessageModifier and TypeMethodDescriptionvoidClientPlayNetworkHandler.acknowledge(SignedMessage message, boolean displayed) -
Uses of SignedMessage in net.minecraft.client.network.message
Methods in net.minecraft.client.network.message with parameters of type SignedMessageModifier and TypeMethodDescriptionprivate voidMessageHandler.addToChatLog(SignedMessage message, MessageType.Parameters params, @Nullable PlayerListEntry senderEntry, MessageTrustStatus trustStatus) MessageTrustStatus.createIndicator(SignedMessage message) private MessageTrustStatusMessageHandler.getStatus(SignedMessage message, Text decorated, @Nullable PlayerListEntry senderEntry, Instant receptionTimestamp) Returns the trust status ofmessage.static MessageTrustStatusMessageTrustStatus.getStatus(SignedMessage message, Text decorated, @Nullable PlayerListEntry sender, Instant receptionTimestamp) private voidMessageHandler.narrate(MessageType.Parameters params, SignedMessage message) Narratesmessage.voidMessageHandler.onChatMessage(SignedMessage message, MessageType.Parameters params) Called when a chat message is received.(package private) booleanMessageHandler.processChatMessage(MessageType.Parameters params, SignedMessage message, Text decorated, @Nullable PlayerListEntry senderEntry, boolean onlyShowSecureChat, Instant receptionTimestamp) Processes a chat message and sends acknowledgment to the server.private booleanMessageHandler.processChatMessageInternal(MessageType.Parameters params, SignedMessage message, Text decorated, @Nullable PlayerListEntry senderEntry, boolean onlyShowSecureChat, Instant receptionTimestamp) Processes a chat message.(package private) booleanMessageHandler.processProfilelessMessage(MessageType.Parameters params, SignedMessage message, Text decorated) Processes a message that is sent as chat message but lacks the sender. -
Uses of SignedMessage in net.minecraft.client.report
Methods in net.minecraft.client.report with parameters of type SignedMessageModifier and TypeMethodDescriptionprivate static IntCollectionChatAbuseReport.collectIndicesUntilLastSeen(ChatLog log, int selectedIndex, SignedMessage signedMessage) -
Uses of SignedMessage in net.minecraft.client.report.log
Fields in net.minecraft.client.report.log declared as SignedMessageModifier and TypeFieldDescriptionprivate final SignedMessageReceivedMessage.ChatMessage.messageThe field for themessagerecord component.Methods in net.minecraft.client.report.log that return SignedMessageModifier and TypeMethodDescriptionReceivedMessage.ChatMessage.message()Returns the value of themessagerecord component.Methods in net.minecraft.client.report.log with parameters of type SignedMessageModifier and TypeMethodDescriptionstatic ReceivedMessage.ChatMessageReceivedMessage.of(com.mojang.authlib.GameProfile gameProfile, Text displayName, SignedMessage message, MessageTrustStatus trustStatus) Returns the received message constructed from a chat message's elements.Constructors in net.minecraft.client.report.log with parameters of type SignedMessageModifierConstructorDescriptionChatMessage(com.mojang.authlib.GameProfile gameProfile, Text text, SignedMessage signedMessage, MessageTrustStatus messageTrustStatus) -
Uses of SignedMessage in net.minecraft.command.argument
Fields in net.minecraft.command.argument declared as SignedMessageModifier and TypeFieldDescriptionprivate final SignedMessageMessageArgumentType.SignedMessage.signedArgumentThe field for thesignedArgumentrecord component.Methods in net.minecraft.command.argument that return SignedMessageModifier and TypeMethodDescriptionMessageArgumentType.SignedMessage.signedArgument()Returns the value of thesignedArgumentrecord component.Methods in net.minecraft.command.argument that return types with arguments of type SignedMessageModifier and TypeMethodDescriptionprivate CompletableFuture<FilteredMessage<SignedMessage>>MessageArgumentType.SignedMessage.decorate(ServerCommandSource source, FilteredMessage<String> filtered, FilteredMessage<Text> formatted) Method parameters in net.minecraft.command.argument with type arguments of type SignedMessageModifier and TypeMethodDescriptionvoidMessageArgumentType.SignedMessage.decorate(ServerCommandSource source, Consumer<FilteredMessage<SignedMessage>> callback) Constructors in net.minecraft.command.argument with parameters of type SignedMessage -
Uses of SignedMessage in net.minecraft.network.message
Fields in net.minecraft.network.message declared as SignedMessageModifier and TypeFieldDescriptionprivate final SignedMessageSentMessage.Chat.messageprivate final SignedMessageSentMessage.Profileless.messageFields in net.minecraft.network.message with type parameters of type SignedMessageModifier and TypeFieldDescriptionprivate final Map<String,SignedMessage> SignedCommandArguments.Impl.argumentsThe field for theargumentsrecord component.Methods in net.minecraft.network.message that return SignedMessageModifier and TypeMethodDescriptionprivate static SignedMessageMessageChain.createMessage(MessageChain.Signature signature, @Nullable MessageSignatureData precedingSignature, MessageMetadata metadata, DecoratedContents contents, LastSeenMessageList lastSeenMessage) SignedCommandArguments.createSignature(String argumentName) SignedCommandArguments.Impl.createSignature(String argumentName) static SignedMessageSignedMessage.method_45041(DecoratedContents decoratedContents) private SignedMessageMessageChain.unpack(MessageChain.Signature signature, MessageMetadata metadata, DecoratedContents contents, LastSeenMessageList lastSeenMessages) MessageChain.Unpacker.unpack(MessageChain.Signature signature, MessageMetadata metadata, DecoratedContents decoratedContents, LastSeenMessageList lastSeenMessages) SignedMessage.withoutUnsigned()Returns the signed chat message withunsignedContentremoved if it exists.SignedMessage.withUnsignedContent(Text unsignedContent) Methods in net.minecraft.network.message that return types with arguments of type SignedMessageModifier and TypeMethodDescriptionSignedCommandArguments.Impl.arguments()Returns the value of theargumentsrecord component.static FilteredMessage<SignedMessage>MessageDecorator.attachUnsignedDecoration(FilteredMessage<SignedMessage> message, FilteredMessage<Text> decorated) SignedMessage.withFilteredContent(FilteredMessage<DecoratedContents> filteredMessage) Methods in net.minecraft.network.message with parameters of type SignedMessageModifier and TypeMethodDescriptionstatic SentMessageSentMessage.of(SignedMessage message) Returns the wrappedmessage.MessageVerifier.Impl.verify(SignedMessage message) MessageVerifier.verify(SignedMessage message) Method parameters in net.minecraft.network.message with type arguments of type SignedMessageModifier and TypeMethodDescriptionstatic FilteredMessage<SignedMessage>MessageDecorator.attachUnsignedDecoration(FilteredMessage<SignedMessage> message, FilteredMessage<Text> decorated) static FilteredMessage<SentMessage>SentMessage.of(FilteredMessage<SignedMessage> message) Returns the wrappedmessage.Constructors in net.minecraft.network.message with parameters of type SignedMessageConstructor parameters in net.minecraft.network.message with type arguments of type SignedMessage -
Uses of SignedMessage in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as SignedMessageModifier and TypeFieldDescriptionprivate final SignedMessageChatMessageS2CPacket.messageThe field for themessagerecord component.Methods in net.minecraft.network.packet.s2c.play that return SignedMessageModifier and TypeMethodDescriptionChatMessageS2CPacket.message()Returns the value of themessagerecord component.Constructors in net.minecraft.network.packet.s2c.play with parameters of type SignedMessageModifierConstructorDescriptionChatMessageS2CPacket(SignedMessage signedMessage, MessageType.Serialized serialized) -
Uses of SignedMessage in net.minecraft.server
Methods in net.minecraft.server with parameters of type SignedMessageModifier and TypeMethodDescriptionvoidPlayerManager.broadcast(SignedMessage message, MessageSourceProfile profile, MessageType.Parameters params) Broadcasts a chat message to all players and the server console.voidPlayerManager.sendMessageHeader(SignedMessage message, Set<ServerPlayerEntity> except) Sendsmessage's headers (only) to all players exceptexcept.private booleanPlayerManager.verify(SignedMessage message, MessageSourceProfile profile) Returns whethermessageis not expired and is verified.Method parameters in net.minecraft.server with type arguments of type SignedMessageModifier and TypeMethodDescriptionprivate voidPlayerManager.broadcast(FilteredMessage<SignedMessage> message, Predicate<ServerPlayerEntity> shouldSendFiltered, MessageSourceProfile profile, MessageType.Parameters params) Broadcasts a chat message to all players and the server console.voidPlayerManager.broadcast(FilteredMessage<SignedMessage> message, ServerCommandSource source, MessageType.Parameters params) Broadcasts a chat message to all players and the server console.voidPlayerManager.broadcast(FilteredMessage<SignedMessage> message, ServerPlayerEntity sender, MessageType.Parameters params) Broadcasts a chat message to all players and the server console. -
Uses of SignedMessage in net.minecraft.server.network
Methods in net.minecraft.server.network that return SignedMessageModifier and TypeMethodDescriptionprivate SignedMessageServerPlayNetworkHandler.method_45011(ChatMessageC2SPacket chatMessageC2SPacket) Methods in net.minecraft.server.network that return types with arguments of type SignedMessageModifier and TypeMethodDescriptionprivate Map<String,SignedMessage> ServerPlayNetworkHandler.method_45006(CommandExecutionC2SPacket commandExecutionC2SPacket, class_7644<?> class_7644) Methods in net.minecraft.server.network with parameters of type SignedMessageModifier and TypeMethodDescriptionvoidServerPlayNetworkHandler.addPendingAcknowledgment(SignedMessage message) private CompletableFuture<Void>ServerPlayNetworkHandler.handleMessage(SignedMessage signedMessage, FilteredMessage<String> filteredMessage) private booleanServerPlayNetworkHandler.method_45009(SignedMessage signedMessage) Method parameters in net.minecraft.server.network with type arguments of type SignedMessageModifier and TypeMethodDescriptionprivate voidServerPlayNetworkHandler.handleDecoratedMessage(FilteredMessage<SignedMessage> filteredMessage)