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 |
Modifier and Type | Field and Description |
---|---|
private ITextComponent |
description |
private java.lang.String |
favicon |
private FMLStatusPing |
forgeData |
private java.lang.String |
json |
private java.util.concurrent.Semaphore |
mutex |
private ServerStatusResponse.Players |
players |
private ServerStatusResponse.Version |
version |
Constructor and Description |
---|
ServerStatusResponse() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFavicon() |
FMLStatusPing |
getForgeData() |
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 |
setForgeData(FMLStatusPing data) |
void |
setPlayers(ServerStatusResponse.Players playersIn) |
void |
setServerDescription(ITextComponent descriptionIn) |
void |
setVersion(ServerStatusResponse.Version versionIn) |
private ITextComponent description
private ServerStatusResponse.Players players
private ServerStatusResponse.Version version
private java.lang.String favicon
private transient FMLStatusPing forgeData
private java.util.concurrent.Semaphore mutex
private java.lang.String json
public FMLStatusPing getForgeData()
public void setForgeData(FMLStatusPing data)
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()