aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/polyfrost/chatting/hook/ChatLineHook.java
blob: 50b9ce3af56b77c452ed9cc431e8e6f7aa20a305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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<WeakReference<ChatLine>> chatLines = new HashSet<>();
    boolean hasDetected();
    NetworkPlayerInfo getPlayerInfo();

    void updatePlayerInfo();

    long getUniqueId();
}