From 1fc111960c0523662b11c7a12c962735f89b0dc3 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 16 Dec 2023 15:21:47 +0100 Subject: Add hover only timestamp --- src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java') 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> chatLines = new HashSet<>(); boolean isDetected(); void setDetected(boolean detected); + List getChildren(); + long getTimestamp(); + void setTimestamp(long timestamp); NetworkPlayerInfo getPlayerInfo(); void setPlayerInfo(NetworkPlayerInfo playerInfo); NetworkPlayerInfo getDetectedPlayerInfo(); -- cgit