Chat Lib
Functions
Adds a message to the player's chat history. This allows the message to show up for the player when pressing the up/down keys while in the chat gui
Edits an already sent chat message by the Message
Edits an already sent chat message by its chat line id
Edits an already sent chat message by the text of the chat
Edits an already sent chat message matched by regexp.
Get a message that will be perfectly centered in chat.
Get a message that will be perfectly one line of chat, the separator repeated as many times as necessary. The separator defaults to "-"
Gets the previous 1000 lines of chat
Get the text of a chat event. Defaults to the unformatted version.
Gets the width of Minecraft's chat
Remove all formatting
Replaces Minecraft formatted text with normal formatted text
Simulates a chat message to be caught by other triggers for testing. The text can be a String, a Message or a TextComponent