From 1b3670de60500c491e5c61b0d304bcde7e30080f Mon Sep 17 00:00:00 2001 From: Wyvest <45589059+Wyvest@users.noreply.github.com> Date: Sat, 14 Jan 2023 12:13:13 -0500 Subject: various new features - right click to copy chat message - tooltip text render type - delete button for individual chat lines - copying chat messages now always shows a notification output --- src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java | 2 ++ src/main/java/cc/woverflow/chatting/hook/GuiNewChatHook.java | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/java/cc/woverflow/chatting/hook') diff --git a/src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java b/src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java index fb10225..9460e0c 100644 --- a/src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java +++ b/src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java @@ -12,4 +12,6 @@ public interface ChatLineHook { NetworkPlayerInfo getPlayerInfo(); void updatePlayerInfo(); + + long getUniqueId(); } diff --git a/src/main/java/cc/woverflow/chatting/hook/GuiNewChatHook.java b/src/main/java/cc/woverflow/chatting/hook/GuiNewChatHook.java index 51b19d4..d2ca6c1 100644 --- a/src/main/java/cc/woverflow/chatting/hook/GuiNewChatHook.java +++ b/src/main/java/cc/woverflow/chatting/hook/GuiNewChatHook.java @@ -7,7 +7,9 @@ import java.awt.datatransfer.Transferable; public interface GuiNewChatHook { int getRight(); - boolean shouldCopy(); + boolean isHovering(); + + ChatLine getHoveredLine(int mouseY); Transferable getChattingChatComponent(int mouseY); -- cgit