public class ServerStatusResponse
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerStatusResponse.Players |
static class |
ServerStatusResponse.Serializer |
static class |
ServerStatusResponse.Version |
Constructor and Description |
---|
ServerStatusResponse() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFavicon() |
java.lang.String |
getJson()
Returns this object as a Json string.
|
ServerStatusResponse.Players |
getPlayers() |
ITextComponent |
getServerDescription() |
ServerStatusResponse.Version |
getVersion() |
void |
invalidateJson()
Invalidates the cached json, causing the next call to getJson to rebuild it.
|
void |
setFavicon(java.lang.String faviconBlob) |
void |
setPlayers(ServerStatusResponse.Players playersIn) |
void |
setServerDescription(ITextComponent descriptionIn) |
void |
setVersion(ServerStatusResponse.Version versionIn) |
public ITextComponent getServerDescription()
public void setServerDescription(ITextComponent descriptionIn)
public ServerStatusResponse.Players getPlayers()
public void setPlayers(ServerStatusResponse.Players playersIn)
public ServerStatusResponse.Version getVersion()
public void setVersion(ServerStatusResponse.Version versionIn)
public void setFavicon(java.lang.String faviconBlob)
public java.lang.String getFavicon()
public java.lang.String getJson()
public void invalidateJson()