mirror of
https://github.com/GTNewHorizons/Opis.git
synced 2026-11-22 05:02:17 +00:00
18 lines
776 B
Java
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
|
|
}
|