Uses of Record Class
net.minecraft.network.message.MessageType
Packages that use MessageType
Package
Description
The base package for all Minecraft classes.
-
Uses of MessageType in net.minecraft
Methods in net.minecraft with parameters of type MessageTypeModifier and TypeMethodDescriptionvoidclass_7594.method_44733(MessageType messageType, SignedMessage signedMessage, MessageSender messageSender) -
Uses of MessageType in net.minecraft.network.message
Fields in net.minecraft.network.message with type parameters of type MessageTypeModifier and TypeFieldDescriptionstatic final RegistryKey<MessageType>MessageType.CHATThe registry key for the message type used bychat messages.static final com.mojang.serialization.Codec<MessageType>MessageType.CODECstatic final RegistryKey<MessageType>MessageType.EMOTE_COMMANDThe registry key for the emote command message type, used by /me.static final RegistryKey<MessageType>MessageType.MSG_COMMANDThe registry key for the message command message type, used by /msg.static final RegistryKey<MessageType>MessageType.SAY_COMMANDThe registry key for the say command message type, used by /say.static final RegistryKey<MessageType>MessageType.TEAM_MSG_COMMANDThe registry key for the team message command message type, used by /teammsg.Methods in net.minecraft.network.message that return types with arguments of type MessageTypeModifier and TypeMethodDescriptionstatic RegistryEntry<MessageType>MessageType.initialize(Registry<MessageType> registry) private static RegistryKey<MessageType>Method parameters in net.minecraft.network.message with type arguments of type MessageTypeModifier and TypeMethodDescriptionstatic RegistryEntry<MessageType>MessageType.initialize(Registry<MessageType> registry) -
Uses of MessageType in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play that return MessageTypeModifier and TypeMethodDescriptionChatMessageS2CPacket.getMessageType(Registry<MessageType> registry) Returns the message type of the chat message.Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type MessageTypeModifier and TypeMethodDescriptionChatMessageS2CPacket.getMessageType(Registry<MessageType> registry) Returns the message type of the chat message. -
Uses of MessageType in net.minecraft.server
Method parameters in net.minecraft.server with type arguments of type MessageTypeModifier and TypeMethodDescriptionvoidPlayerManager.broadcast(SignedMessage message, Function<ServerPlayerEntity, SignedMessage> playerMessageFactory, MessageSender sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.voidPlayerManager.broadcast(SignedMessage message, MessageSender sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.voidPlayerManager.broadcast(FilteredMessage<SignedMessage> message, ServerCommandSource source, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.voidPlayerManager.broadcast(FilteredMessage<SignedMessage> message, ServerPlayerEntity sender, RegistryKey<MessageType> typeKey) Broadcasts a chat message to all players and the server console.voidMinecraftServer.logChatMessage(MessageSender sender, Text message, RegistryKey<MessageType> typeKey) -
Uses of MessageType in net.minecraft.server.network
Method parameters in net.minecraft.server.network with type arguments of type MessageTypeModifier and TypeMethodDescriptionprivate intServerPlayerEntity.getMessageTypeId(RegistryKey<MessageType> typeKey) voidServerPlayerEntity.sendChatMessage(SignedMessage message, MessageSender sender, RegistryKey<MessageType> typeKey) Sends a chat message to the player. -
Uses of MessageType in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type MessageTypeModifier and TypeFieldDescriptionstatic final Registry<MessageType>BuiltinRegistries.MESSAGE_TYPEstatic final RegistryKey<Registry<MessageType>>Registry.MESSAGE_TYPE_KEY