aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/woverflow/chatting/hook/ChatLineHook.java
blob: 9460e0c0405ec767400554d30f63957bd8a63462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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();
}