Files
Opis/mcp/mobius/opis/server/PlayerTracker.java
T

18 lines
776 B
Java

package mcp.mobius.opis.server;
import java.util.HashMap;
import java.util.HashSet;
import net.minecraft.entity.player.EntityPlayer;
import cpw.mods.fml.common.network.Player;
public class PlayerTracker {
private static PlayerTracker _instance = new PlayerTracker();
public static PlayerTracker instance() {return _instance;}
private PlayerTracker(){}
public HashSet<EntityPlayer> playersSwing = new HashSet<EntityPlayer>(); //This is the list of players who have opened the UI
public HashSet<EntityPlayer> playersOpis = new HashSet<EntityPlayer>(); //This is the list of players who have opened the UI or used the command line
public HashMap<String, Boolean> filteredAmount = new HashMap<String, Boolean>(); //Should the entity amount be filtered or not
}