aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/woverflow/chatting/hook
diff options
context:
space:
mode:
authorWyvest <wyvestbusiness@gmail.com>2023-11-22 08:18:19 +0900
committerWyvest <wyvestbusiness@gmail.com>2023-11-22 08:18:19 +0900
commit8b373f577d9c6dde26357ef3fc86691f1efef9b4 (patch)
treea5328e995d8f4df21a9fe94ac8e384be08833c70 /src/main/java/cc/woverflow/chatting/hook
parent64230799777473246b5f98efbc596206c5bbf42d (diff)
downloadChatting-8b373f577d9c6dde26357ef3fc86691f1efef9b4.tar.gz
Chatting-8b373f577d9c6dde26357ef3fc86691f1efef9b4.tar.bz2
Chatting-8b373f577d9c6dde26357ef3fc86691f1efef9b4.zip
update PGT and relocate to org.polyfrost
Diffstat (limited to 'src/main/java/cc/woverflow/chatting/hook')
-rw-r--r--src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java17
-rw-r--r--src/main/java/cc/woverflow/chatting/hook/GuiNewChatHook.java21
2 files changed, 0 insertions, 38 deletions
diff --git a/src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java b/src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java
deleted file mode 100644
index 9460e0c..0000000
--- a/src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package cc.woverflow.chatting.hook;
-
-import net.minecraft.client.gui.ChatLine;
-import net.minecraft.client.network.NetworkPlayerInfo;
-
-import java.lang.ref.WeakReference;
-import java.util.HashSet;
-
-public interface ChatLineHook {
- HashSet<WeakReference<ChatLine>> chatLines = new HashSet<>();
- boolean hasDetected();
- 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
deleted file mode 100644
index 19da778..0000000
--- a/src/main/java/cc/woverflow/chatting/hook/GuiNewChatHook.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package cc.woverflow.chatting.hook;
-
-import net.minecraft.client.gui.ChatLine;
-
-import java.awt.datatransfer.Transferable;
-
-public interface GuiNewChatHook {
- int getRight();
-
- boolean isHovering();
-
- ChatLine getHoveredLine(int mouseY);
-
- Transferable getChattingChatComponent(int mouseY);
-
- default ChatLine getFullMessage(ChatLine line) {
- throw new AssertionError("getFullMessage not overridden on GuiNewChat");
- }
-
- int getTextOpacity();
-}