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 SignedChatMessageModifier and TypeMethodDescriptionstatic SignedChatMessageMessageArgumentType.getSignedMessage(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String name) -
Uses of SignedChatMessage in net.minecraft.network
Methods in net.minecraft.network that return SignedChatMessageModifier and TypeMethodDescriptiondefault SignedChatMessageChatDecorator.decorate(@Nullable ServerPlayerEntity sender, SignedChatMessage message) Returns the signed chat message with unsigned content set as decoratedmessage.default SignedChatMessageChatDecorator.decorate(@Nullable ServerPlayerEntity sender, Text message, ChatMessageSignature signature, boolean previewed) Returns the decorated signed chat message from undecoratedmessage.Methods in net.minecraft.network with parameters of type SignedChatMessageModifier and TypeMethodDescriptiondefault SignedChatMessageChatDecorator.decorate(@Nullable ServerPlayerEntity sender, SignedChatMessage message) Returns the signed chat message with unsigned content set as decoratedmessage. -
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.CommandArgumentSigner.signArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName, Text value) Returns the signed argument's message from the argument name and value.CommandArgumentSigner.Signatures.signArgument(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, String argumentName, Text value) Returns the signed argument's message from the argument name and value.SignedChatMessage.withUnsigned(Text unsignedContent) Returns the new signed chat message withunsignedContentadded. -
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 that return SignedChatMessageModifier and TypeMethodDescriptionprivate @Nullable SignedChatMessagePlayerManager.decorateIfFiltered(ServerPlayerEntity player, SignedChatMessage message, TextStream.Message filteredMessage) Returns the decorated message, ornullif the filtered message exists but is empty.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.voidPlayerManager.broadcast(SignedChatMessage message, TextStream.Message filteredMessage, ServerPlayerEntity sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.private @Nullable SignedChatMessagePlayerManager.decorateIfFiltered(ServerPlayerEntity player, SignedChatMessage message, TextStream.Message filteredMessage) Returns the decorated message, ornullif the filtered message exists but is empty.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. -
Uses of SignedChatMessage in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type SignedChatMessageModifier and TypeMethodDescriptionprivate static intMessageCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, SignedChatMessage message) private static intTeamMsgCommand.execute(ServerCommandSource source, SignedChatMessage message) -
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.