public class ServerData extends Object
Modifier and Type | Field and Description |
---|---|
boolean |
field_78841_f |
int |
field_82821_f |
String |
gameVersion
Game version for this server.
|
long |
pingToServer
last server ping that showed up in the server browser
|
String |
populationInfo
the string indicating number of players on and capacity of the server that is shown on the server browser (i.e.
|
String |
serverIP |
String |
serverMOTD
(better variable name would be 'hostname') server name as displayed in the server browser's second line (grey
text)
|
String |
serverName |
Constructor and Description |
---|
ServerData(String par1Str,
String par2Str) |
Modifier and Type | Method and Description |
---|---|
NBTTagCompound |
getNBTCompound()
Returns an NBTTagCompound with the server's name, IP and maybe acceptTextures.
|
static ServerData |
getServerDataFromNBTCompound(NBTTagCompound par0NBTTagCompound)
Takes an NBTTagCompound with 'name' and 'ip' keys, returns a ServerData instance.
|
boolean |
isHidingAddress() |
void |
setAcceptsTextures(boolean par1) |
void |
setHideAddress(boolean par1) |
public String serverName
public String serverIP
public String populationInfo
public String serverMOTD
public long pingToServer
public int field_82821_f
public String gameVersion
public boolean field_78841_f
public NBTTagCompound getNBTCompound()
public void setAcceptsTextures(boolean par1)
public boolean isHidingAddress()
public void setHideAddress(boolean par1)
public static ServerData getServerDataFromNBTCompound(NBTTagCompound par0NBTTagCompound)