ChatReceivedEvent
This event fires each time a message appears in your chat.
Parameter
ChatReceivedEvent
Properties
Type
-
CHAT - Normal chat messages.
-
SYSTEM - System messages.
-
ACTION_BAR - Action bar messages above hotbar.
Tip
In most cases you should only use CHAT, which is what is normally used by default in Forge mods.
Methods
Component
Gets the IChatComponent of the message.
Type
Gets the current type of message.