public class ServerList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
private Minecraft |
mc |
private java.util.List<ServerData> |
servers |
Constructor and Description |
---|
ServerList(Minecraft mcIn) |
Modifier and Type | Method and Description |
---|---|
void |
addServerData(ServerData server) |
int |
countServers() |
void |
func_217506_a(ServerData p_217506_1_) |
ServerData |
getServerData(int index) |
void |
loadServerList() |
void |
saveServerList() |
static void |
saveSingleServer(ServerData server) |
void |
set(int index,
ServerData server) |
void |
swapServers(int pos1,
int pos2) |
private static final org.apache.logging.log4j.Logger LOGGER
private final Minecraft mc
private final java.util.List<ServerData> servers
public ServerList(Minecraft mcIn)
public void loadServerList()
public void saveServerList()
public ServerData getServerData(int index)
public void func_217506_a(ServerData p_217506_1_)
public void addServerData(ServerData server)
public int countServers()
public void swapServers(int pos1, int pos2)
public void set(int index, ServerData server)
public static void saveSingleServer(ServerData server)