public class ServerList
extends java.lang.Object
Constructor and Description |
---|
ServerList(Minecraft mcIn) |
Modifier and Type | Method and Description |
---|---|
void |
addServerData(ServerData server) |
int |
countServers() |
ServerData |
getServerData(int index) |
void |
loadServerList() |
void |
removeServerData(int index) |
void |
saveServerList() |
static void |
saveSingleServer(ServerData server) |
void |
set(int index,
ServerData server) |
void |
swapServers(int pos1,
int pos2) |
public ServerList(Minecraft mcIn)
public void loadServerList()
public void saveServerList()
public ServerData getServerData(int index)
public void removeServerData(int index)
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)