Uses of Enum Class
net.minecraft.network.MessageType
Packages that use MessageType
Package
Description
-
Uses of MessageType in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type MessageTypeModifier and TypeMethodDescriptionvoidClientChatListener.onChatMessage(MessageType type, Text message, UUID sender) voidGameInfoChatListener.onChatMessage(MessageType type, Text message, UUID sender) -
Uses of MessageType in net.minecraft.client.gui.hud
Fields in net.minecraft.client.gui.hud with type parameters of type MessageTypeModifier and TypeFieldDescriptionprivate final Map<MessageType,List<ClientChatListener>> InGameHud.listenersMethods in net.minecraft.client.gui.hud with parameters of type MessageTypeModifier and TypeMethodDescriptionvoidInGameHud.addChatMessage(MessageType type, Text message, UUID sender) voidChatHudListener.onChatMessage(MessageType type, Text message, UUID sender) -
Uses of MessageType in net.minecraft.client.util
Methods in net.minecraft.client.util with parameters of type MessageTypeModifier and TypeMethodDescriptionvoidNarratorManager.onChatMessage(MessageType type, Text message, UUID sender) -
Uses of MessageType in net.minecraft.network
Methods in net.minecraft.network that return MessageTypeModifier and TypeMethodDescriptionstatic MessageTypeMessageType.byId(byte id) static MessageTypeReturns the enum constant of this class with the specified name.static MessageType[]MessageType.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of MessageType in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as MessageTypeMethods in net.minecraft.network.packet.s2c.play that return MessageTypeConstructors in net.minecraft.network.packet.s2c.play with parameters of type MessageType -
Uses of MessageType in net.minecraft.server
Methods in net.minecraft.server with parameters of type MessageTypeModifier and TypeMethodDescriptionvoidPlayerManager.broadcast(Text serverMessage, Function<ServerPlayerEntity, Text> playerMessageFactory, MessageType type, UUID sender) Broadcasts a message to all players and the server console.voidPlayerManager.broadcast(Text message, MessageType type, UUID sender) Broadcasts a message to all players and the server console. -
Uses of MessageType in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type MessageTypeModifier and TypeMethodDescriptionprivate booleanServerPlayerEntity.acceptsMessage(MessageType type) voidServerPlayerEntity.sendMessage(Text message, MessageType type, UUID sender) Sends a message to the client corresponding to this player.