package org.polyfrost.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> chatLines = new HashSet<>(); boolean isDetected(); void setDetected(boolean detected); NetworkPlayerInfo getPlayerInfo(); void setPlayerInfo(NetworkPlayerInfo playerInfo); NetworkPlayerInfo getDetectedPlayerInfo(); void setDetectedPlayerInfo(NetworkPlayerInfo detectedPlayerInfo); boolean isFirstDetection(); void setFirstDetection(boolean firstDetection); void updatePlayerInfo(); long getUniqueId(); }