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