Package net.minecraft.client.gui
Interface ClientChatListener
- All Known Implementing Classes:
ChatHudListener
,GameInfoChatListener
,NarratorManager
A listener for received chat messages and game messages.
Listeners are registered at InGameHud.listeners
per message type.
- See Also:
- Mappings:
Namespace Name official ege
intermediary net/minecraft/class_334
named net/minecraft/client/gui/ClientChatListener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onChatMessage
(MessageType type, Text message, @Nullable MessageSender sender) Called when a message is received.
-
Method Details
-
onChatMessage
Called when a message is received.- Parameters:
sender
- the chat message's sender, ornull
for game messages- Mappings:
Namespace Name Mixin selector official a
Lege;a(Lrj;Lrm;Lri;)V
intermediary method_1794
Lnet/minecraft/class_334;method_1794(Lnet/minecraft/class_2556;Lnet/minecraft/class_2561;Lnet/minecraft/class_7436;)V
named onChatMessage
Lnet/minecraft/client/gui/ClientChatListener;onChatMessage(Lnet/minecraft/network/MessageType;Lnet/minecraft/text/Text;Lnet/minecraft/network/MessageSender;)V
-