|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.client.multiplayer.ServerData
public class ServerData
Field Summary | |
---|---|
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 Summary | |
---|---|
ServerData(String par1Str,
String par2Str)
|
Method Summary | |
---|---|
boolean |
func_78840_c()
|
boolean |
getAcceptsTextures()
|
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)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public ServerData(String par1Str, String par2Str)
Method Detail |
---|
public NBTTagCompound getNBTCompound()
public boolean getAcceptsTextures()
public boolean func_78840_c()
public void setAcceptsTextures(boolean par1)
public boolean isHidingAddress()
public void setHideAddress(boolean par1)
public static ServerData getServerDataFromNBTCompound(NBTTagCompound par0NBTTagCompound)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |