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.narrate(MessageType.Parameters params, Text message) Narratesmessage.voidMessageHandler.onChatMessage(SignedMessage message, com.mojang.authlib.GameProfile sender, MessageType.Parameters params) voidMessageHandler.onProfilelessMessage(Text content, MessageType.Parameters params) voidMessageHandler.onUnverifiedMessage(UUID sender, @Nullable MessageSignatureData signature, MessageType.Parameters parameters) private booleanMessageHandler.processChatMessageInternal(MessageType.Parameters params, SignedMessage message, Text decorated, com.mojang.authlib.GameProfile sender, boolean onlyShowSecureChat, Instant receptionTimestamp) Processes a chat message. -
Uses of MessageType.Parameters in net.minecraft.network.message
Fields in net.minecraft.network.message with type parameters of type MessageType.ParametersModifier and TypeFieldDescriptionstatic final PacketCodec<RegistryByteBuf, MessageType.Parameters> MessageType.Parameters.CODECMethods 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, DynamicRegistryManager registryManager, Text name) static MessageType.ParametersMessageType.params(RegistryKey<MessageType> typeKey, ServerCommandSource source) MessageType.Parameters.withTargetName(Text targetName) Returns a new instance with the given target name.Methods in net.minecraft.network.message with parameters of type MessageType.ParametersModifier and TypeMethodDescriptionvoidSentMessage.Chat.send(ServerPlayerEntity sender, boolean filterMaskEnabled, MessageType.Parameters params) voidSentMessage.Profileless.send(ServerPlayerEntity sender, boolean filterMaskEnabled, MessageType.Parameters params) voidSentMessage.send(ServerPlayerEntity sender, boolean filterMaskEnabled, MessageType.Parameters params) -
Uses of MessageType.Parameters in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as MessageType.ParametersModifier and TypeFieldDescriptionprivate final MessageType.ParametersProfilelessChatMessageS2CPacket.chatTypeThe field for thechatTyperecord component.private final MessageType.ParametersChatMessageS2CPacket.serializedParametersThe field for theserializedParametersrecord component.Methods in net.minecraft.network.packet.s2c.play that return MessageType.ParametersModifier and TypeMethodDescriptionProfilelessChatMessageS2CPacket.chatType()Returns the value of thechatTyperecord component.ChatMessageS2CPacket.serializedParameters()Returns the value of theserializedParametersrecord component.Constructors in net.minecraft.network.packet.s2c.play with parameters of type MessageType.ParametersModifierConstructorDescriptionChatMessageS2CPacket(int globalIndex, UUID sender, int index, @Nullable MessageSignatureData signature, MessageBody.Serialized body, @Nullable Text unsignedContent, FilterMask filterMask, MessageType.Parameters serializedParameters) Creates an instance of aChatMessageS2CPacketrecord class.ProfilelessChatMessageS2CPacket(Text message, MessageType.Parameters chatType) Creates an instance of aProfilelessChatMessageS2CPacketrecord class. -
Uses of MessageType.Parameters in net.minecraft.server
Methods in net.minecraft.server with parameters of type MessageType.ParametersModifier and TypeMethodDescriptionprivate voidPlayerManager.broadcast(SignedMessage message, Predicate<ServerPlayerEntity> shouldSendFiltered, @Nullable ServerPlayerEntity sender, MessageType.Parameters params) Broadcasts a chat message to all players and the server console.voidPlayerManager.broadcast(SignedMessage message, ServerCommandSource source, MessageType.Parameters params) Broadcasts a chat message to all players and the server console.voidPlayerManager.broadcast(SignedMessage message, 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 filterMaskEnabled, MessageType.Parameters params) Sendsmessageas a chat message 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 filterMaskEnabled, MessageType.Parameters params) Sends a chat message to the player.voidServerPlayNetworkHandler.sendChatMessage(SignedMessage message, MessageType.Parameters params) voidServerPlayNetworkHandler.sendProfilelessChatMessage(Text message, MessageType.Parameters params) -
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)