public class ServerMetadata extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerMetadata.Deserializer |
static class |
ServerMetadata.Players |
static class |
ServerMetadata.Version |
Modifier and Type | Field and Description |
---|---|
private Text |
description |
private String |
favicon |
private ServerMetadata.Players |
players |
private ServerMetadata.Version |
version |
Constructor and Description |
---|
ServerMetadata() |
Modifier and Type | Method and Description |
---|---|
Text |
getDescription() |
String |
getFavicon() |
ServerMetadata.Players |
getPlayers() |
ServerMetadata.Version |
getVersion() |
void |
setDescription(Text description) |
void |
setFavicon(String favicon) |
void |
setPlayers(ServerMetadata.Players players) |
void |
setVersion(ServerMetadata.Version version) |
private Text description
private ServerMetadata.Players players
private ServerMetadata.Version version
private String favicon
public Text getDescription()
public void setDescription(Text description)
public ServerMetadata.Players getPlayers()
public void setPlayers(ServerMetadata.Players players)
public ServerMetadata.Version getVersion()
public void setVersion(ServerMetadata.Version version)
public void setFavicon(String favicon)
public String getFavicon()