diff options
author | ThatGravyBoat <thatgravyboat@gmail.com> | 2021-12-26 01:31:48 -0330 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-26 12:01:48 +0700 |
commit | 8f8d8e2dbe795309b69162bc3760dd4789fc6b73 (patch) | |
tree | 27f0df9ea4b3f793e4ad23e105330db97c2125b9 /src/main/java/com/raeids/stratus/hook | |
parent | 4927d585ec72cb045a70718423228fa2cf55d071 (diff) | |
download | Chatting-8f8d8e2dbe795309b69162bc3760dd4789fc6b73.tar.gz Chatting-8f8d8e2dbe795309b69162bc3760dd4789fc6b73.tar.bz2 Chatting-8f8d8e2dbe795309b69162bc3760dd4789fc6b73.zip |
improve search button display and screenshotting, and fix tooltips (#2)
Diffstat (limited to 'src/main/java/com/raeids/stratus/hook')
-rw-r--r-- | src/main/java/com/raeids/stratus/hook/GuiNewChatHook.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/raeids/stratus/hook/GuiNewChatHook.java b/src/main/java/com/raeids/stratus/hook/GuiNewChatHook.java index e37995a..aaa182e 100644 --- a/src/main/java/com/raeids/stratus/hook/GuiNewChatHook.java +++ b/src/main/java/com/raeids/stratus/hook/GuiNewChatHook.java @@ -2,10 +2,12 @@ package com.raeids.stratus.hook; import net.minecraft.client.gui.ChatLine; +import java.awt.datatransfer.Transferable; + public interface GuiNewChatHook { int getRight(); boolean shouldCopy(); - String getStratusChatComponent(int mouseY); + Transferable getStratusChatComponent(int mouseY); default ChatLine getFullMessage(ChatLine line) { throw new AssertionError("getFullMessage not overridden on GuiNewChat"); } |