public class ServerPing extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerPing.ModInfo |
static class |
ServerPing.ModItem |
static class |
ServerPing.PlayerInfo |
static class |
ServerPing.Players |
static class |
ServerPing.Protocol |
Constructor and Description |
---|
ServerPing() |
ServerPing(ServerPing.Protocol version,
ServerPing.Players players,
BaseComponent description,
Favicon favicon) |
ServerPing(ServerPing.Protocol version,
ServerPing.Players players,
String description,
Favicon favicon)
Deprecated.
|
ServerPing(ServerPing.Protocol version,
ServerPing.Players players,
String description,
String favicon)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getDescription()
Deprecated.
|
BaseComponent |
getDescriptionComponent() |
String |
getFavicon()
Deprecated.
|
Favicon |
getFaviconObject() |
ServerPing.ModInfo |
getModinfo() |
ServerPing.Players |
getPlayers() |
ServerPing.Protocol |
getVersion() |
int |
hashCode() |
void |
setDescription(String description)
Deprecated.
|
void |
setDescriptionComponent(BaseComponent description) |
void |
setFavicon(Favicon favicon) |
void |
setFavicon(String favicon)
Deprecated.
|
void |
setPlayers(ServerPing.Players players) |
void |
setVersion(ServerPing.Protocol version) |
String |
toString() |
@Deprecated public ServerPing(ServerPing.Protocol version, ServerPing.Players players, String description, String favicon)
@Deprecated public ServerPing(ServerPing.Protocol version, ServerPing.Players players, String description, Favicon favicon)
public ServerPing()
public ServerPing(ServerPing.Protocol version, ServerPing.Players players, BaseComponent description, Favicon favicon)
@Deprecated public String getFavicon()
public Favicon getFaviconObject()
@Deprecated public void setFavicon(String favicon)
public void setFavicon(Favicon favicon)
@Deprecated public void setDescription(String description)
@Deprecated public String getDescription()
public void setDescriptionComponent(BaseComponent description)
public BaseComponent getDescriptionComponent()
public ServerPing.Protocol getVersion()
public ServerPing.Players getPlayers()
public ServerPing.ModInfo getModinfo()
public void setVersion(ServerPing.Protocol version)
public void setPlayers(ServerPing.Players players)
protected boolean canEqual(Object other)
Copyright © 2012–2020 SpigotMC. All rights reserved.