aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2023-12-16 15:21:47 +0100
committerLinnea Gräf <nea@nea.moe>2023-12-16 15:23:26 +0100
commit1fc111960c0523662b11c7a12c962735f89b0dc3 (patch)
treed0f3e90105bfd40e90e532b80357b810518004de /src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java
parent59210b3f24e90e839d560a16f2cca4973d703cd3 (diff)
downloadChatting-hovertimestamps.tar.gz
Chatting-hovertimestamps.tar.bz2
Chatting-hovertimestamps.zip
Add hover only timestamphovertimestamps
Diffstat (limited to 'src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java')
-rw-r--r--src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java b/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java
index 22f180c..5e5b37a 100644
--- a/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java
+++ b/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java
@@ -5,11 +5,15 @@ import net.minecraft.client.network.NetworkPlayerInfo;
import java.lang.ref.WeakReference;
import java.util.HashSet;
+import java.util.List;
public interface ChatLineHook {
HashSet<WeakReference<ChatLine>> chatLines = new HashSet<>();
boolean isDetected();
void setDetected(boolean detected);
+ List<ChatLine> getChildren();
+ long getTimestamp();
+ void setTimestamp(long timestamp);
NetworkPlayerInfo getPlayerInfo();
void setPlayerInfo(NetworkPlayerInfo playerInfo);
NetworkPlayerInfo getDetectedPlayerInfo();