public class ServerData
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerData.ServerResourceMode |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
gameVersion |
boolean |
pinged |
long |
pingToServer |
java.lang.String |
playerList |
java.lang.String |
populationInfo |
java.lang.String |
serverIP |
java.lang.String |
serverMOTD |
java.lang.String |
serverName |
int |
version |
Constructor and Description |
---|
ServerData(java.lang.String name,
java.lang.String ip,
boolean isLan) |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(ServerData serverDataIn) |
java.lang.String |
getBase64EncodedIconData() |
NBTTagCompound |
getNBTCompound() |
ServerData.ServerResourceMode |
getResourceMode() |
static ServerData |
getServerDataFromNBTCompound(NBTTagCompound nbtCompound) |
boolean |
isOnLAN() |
void |
setBase64EncodedIconData(java.lang.String icon) |
void |
setResourceMode(ServerData.ServerResourceMode mode) |
public java.lang.String serverName
public java.lang.String serverIP
public java.lang.String populationInfo
public java.lang.String serverMOTD
public long pingToServer
public int version
public java.lang.String gameVersion
public boolean pinged
public java.lang.String playerList
public ServerData(java.lang.String name, java.lang.String ip, boolean isLan)
public NBTTagCompound getNBTCompound()
public ServerData.ServerResourceMode getResourceMode()
public void setResourceMode(ServerData.ServerResourceMode mode)
public static ServerData getServerDataFromNBTCompound(NBTTagCompound nbtCompound)
public java.lang.String getBase64EncodedIconData()
public void setBase64EncodedIconData(java.lang.String icon)
public boolean isOnLAN()
public void copyFrom(ServerData serverDataIn)