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.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
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) -
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.messageprivate final SignedMessageSentMessage.Entity.messageWithoutMetadataprivate final SignedMessageSentMessage.Entity.originalMessageMethods 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) SentMessage.Chat.getWrappedMessage()Returns the wrapped message.SentMessage.Entity.getWrappedMessage()Returns the wrapped message.SentMessage.getWrappedMessage()Returns the wrapped message.SentMessage.Profileless.getWrappedMessage()Returns the wrapped message.static SignedMessageSignedMessage.ofUnsigned(MessageMetadata metadata, Text content) Returns a new signed message without valid signatures.private SignedMessageMessageChain.unpack(MessageChain.Signature signature, MessageMetadata metadata, DecoratedContents contents, LastSeenMessageList lastSeenMessages) MessageChain.Unpacker.unpack(MessageChain.Signature signature, MessageMetadata metadata, DecoratedContents contents, 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 TypeMethodDescriptionstatic FilteredMessage<SignedMessage>MessageDecorator.attachUnsignedDecoration(FilteredMessage<SignedMessage> message, FilteredMessage<Text> decorated) default FilteredMessage<SignedMessage>MessageChain.Unpacker.unpack(MessageChain.Signature signature, MessageMetadata metadata, FilteredMessage<DecoratedContents> contents, LastSeenMessageList lastSeenMessages) SignedMessage.withFilteredContent(@Nullable Text filteredContent) Methods in net.minecraft.network.message with parameters of type SignedMessageModifier and TypeMethodDescriptionstatic SentMessageSentMessage.of(SignedMessage message, MessageSourceProfile profile) Returns the wrappedmessage.booleanMessageVerifier.Impl.verify(SignedMessage message) booleanMessageVerifier.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, MessageSourceProfile profile) Returns the wrappedmessage.Constructors in net.minecraft.network.message with parameters of type SignedMessageModifierConstructorDescriptionChat(SignedMessage message) Entity(SignedMessage originalMessage) Profileless(SignedMessage message) -
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 with parameters of type SignedMessageModifier and TypeMethodDescriptionvoidServerPlayNetworkHandler.addPendingAcknowledgment(SignedMessage message) Method parameters in net.minecraft.server.network with type arguments of type SignedMessageModifier and TypeMethodDescriptionprivate voidServerPlayNetworkHandler.handleDecoratedMessage(FilteredMessage<SignedMessage> message)