Uses of Record Class
net.minecraft.network.message.MessageType.Parameters
Packages that use MessageType.Parameters
Package
Description
-
Uses of MessageType.Parameters in net.minecraft.client.network.message
Methods in net.minecraft.client.network.message with parameters of type MessageType.ParametersModifier and TypeMethodDescriptionprivate voidMessageHandler.addToChatLog(SignedMessage message, MessageType.Parameters params, @Nullable PlayerListEntry senderEntry, MessageTrustStatus trustStatus) private voidMessageHandler.narrate(MessageType.Parameters params, Text text) 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 MessageType.Parameters in net.minecraft.network.message
Methods in net.minecraft.network.message that return MessageType.ParametersModifier and TypeMethodDescriptionstatic MessageType.ParametersMessageType.params(RegistryKey<MessageType> typeKey, Entity entity) static MessageType.ParametersMessageType.params(RegistryKey<MessageType> typeKey, ServerCommandSource source) static MessageType.ParametersMessageType.params(RegistryKey<MessageType> typeKey, DynamicRegistryManager registryManager, Text name) MessageType.Parameters.withTargetName(Text targetName) Returns a new instance with the given target name.Methods in net.minecraft.network.message that return types with arguments of type MessageType.ParametersModifier and TypeMethodDescriptionMessageType.Serialized.toParameters(DynamicRegistryManager registryManager) Returns a deserialized version of this instance, orOptional.empty()ifMessageType.Serialized.typeIdis unknown to the client.Methods in net.minecraft.network.message with parameters of type MessageType.ParametersModifier and TypeMethodDescriptionvoidSentMessage.Chat.method_45095(ServerPlayerEntity serverPlayerEntity, boolean bool, MessageType.Parameters parameters) voidSentMessage.method_45095(ServerPlayerEntity serverPlayerEntity, boolean bool, MessageType.Parameters parameters) voidSentMessage.Profileless.method_45095(ServerPlayerEntity serverPlayerEntity, boolean bool, MessageType.Parameters parameters) -
Uses of MessageType.Parameters in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type MessageType.ParametersModifier and TypeMethodDescriptionChatMessageS2CPacket.getParameters(DynamicRegistryManager dynamicRegistryManager) -
Uses of MessageType.Parameters in net.minecraft.server
Methods in net.minecraft.server with parameters of type MessageType.ParametersModifier and TypeMethodDescriptionprivate voidPlayerManager.broadcast(SignedMessage signedMessage, Predicate<ServerPlayerEntity> shouldSendFiltered, @Nullable ServerPlayerEntity serverPlayerEntity, MessageSourceProfile messageSourceProfile, MessageType.Parameters parameters) Broadcasts a chat message to all players and the server console.voidPlayerManager.broadcast(SignedMessage signedMessage, ServerCommandSource serverCommandSource, MessageType.Parameters params) Broadcasts a chat message to all players and the server console.voidPlayerManager.broadcast(SignedMessage signedMessage, ServerPlayerEntity sender, MessageType.Parameters params) Broadcasts a chat message to all players and the server console.voidMinecraftServer.logChatMessage(Text message, MessageType.Parameters params, @Nullable String prefix) -
Uses of MessageType.Parameters in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type MessageType.ParametersModifier and TypeMethodDescriptionvoidServerCommandSource.sendChatMessage(SentMessage message, boolean bool, MessageType.Parameters parameters) Sendsmessageas the feedback to the command's executor, or to the server's log if the command is not executed by a player. -
Uses of MessageType.Parameters in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type MessageType.ParametersModifier and TypeMethodDescriptionvoidServerPlayerEntity.sendChatMessage(SentMessage message, boolean bool, MessageType.Parameters parameters) Sends a chat message to the player. -
Uses of MessageType.Parameters in net.minecraft.text
Methods in net.minecraft.text with parameters of type MessageType.ParametersModifier and TypeMethodDescriptionDecoration.apply(Text content, MessageType.Parameters params) Returns the text obtained by applying the passed values to the decoration.Decoration.Parameter.apply(Text content, MessageType.Parameters params) Returns the text obtained by applying the passed values to the parameter.private Text[]Decoration.collectArguments(Text content, MessageType.Parameters params) Returns the arguments passed toText.translatable(String, Object[]).Decoration.Parameter.Selector.select(Text content, MessageType.Parameters params)