aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/raeids/stratus/hook/GuiNewChatHook.java
blob: 4db0b51c1baf98000b001104c3e847412dc6c68c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.raeids.stratus.hook;

import net.minecraft.client.gui.ChatLine;

import java.awt.datatransfer.Transferable;

public interface GuiNewChatHook {
    int getRight();

    boolean shouldCopy();

    Transferable getStratusChatComponent(int mouseY);

    default ChatLine getFullMessage(ChatLine line) {
        throw new AssertionError("getFullMessage not overridden on GuiNewChat");
    }

    String getPrevText();

    void setPrevText(String prevText);
}