MixinChatComponent

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open var allMessages: List<GuiMessage>
Link copied to clipboard
open var trimmedMessages: List<GuiMessage.Line>

Functions

Link copied to clipboard
open fun hookAddVisibleMessage(message: GuiMessage, ci: CallbackInfo, list: List<FormattedCharSequence>)
Modifies addMessageToDisplayQueue so, that the id is forwarded and if ModuleBetterChat is enabled, older lines won't be removed.
Link copied to clipboard
open fun hookClear(clearHistory: Boolean, ci: CallbackInfo)
Cancels the message clearing.
Link copied to clipboard
open fun hookGetSize2(original: Int): Int
Spoofs the message size to be empty to avoid deletion.
Link copied to clipboard
open fun hookNewArrayList2(client: Minecraft, ci: CallbackInfo)
Link copied to clipboard
abstract fun isChatFocused(): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun scrollChat(scroll: Int)