Package net.md_5.bungee.api
Class ServerPing
- java.lang.Object
-
- net.md_5.bungee.api.ServerPing
-
public class ServerPing extends Object
Represents the standard list data returned by opening a server in the Minecraft client server list, or hitting it with a packet 0xFE.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerPing.ModInfostatic classServerPing.ModItemstatic classServerPing.PlayerInfostatic classServerPing.Playersstatic classServerPing.Protocol
-
Constructor Summary
Constructors Constructor Description ServerPing()ServerPing(ServerPing.Protocol version, ServerPing.Players players, String description, String favicon)Deprecated.ServerPing(ServerPing.Protocol version, ServerPing.Players players, String description, Favicon favicon)Deprecated.ServerPing(ServerPing.Protocol version, ServerPing.Players players, BaseComponent description, Favicon favicon)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)StringgetDescription()Deprecated.BaseComponentgetDescriptionComponent()StringgetFavicon()Deprecated.FavicongetFaviconObject()ServerPing.ModInfogetModinfo()ServerPing.PlayersgetPlayers()ServerPing.ProtocolgetVersion()inthashCode()voidsetDescription(String description)Deprecated.voidsetDescriptionComponent(BaseComponent description)voidsetFavicon(String favicon)Deprecated.voidsetFavicon(Favicon favicon)voidsetPlayers(ServerPing.Players players)voidsetVersion(ServerPing.Protocol version)StringtoString()
-
-
-
Constructor Detail
-
ServerPing
@Deprecated public ServerPing(ServerPing.Protocol version, ServerPing.Players players, String description, String favicon)
Deprecated.
-
ServerPing
@Deprecated public ServerPing(ServerPing.Protocol version, ServerPing.Players players, String description, Favicon favicon)
Deprecated.
-
ServerPing
public ServerPing()
-
ServerPing
public ServerPing(ServerPing.Protocol version, ServerPing.Players players, BaseComponent description, Favicon favicon)
-
-
Method Detail
-
getFavicon
@Deprecated public String getFavicon()
Deprecated.
-
getFaviconObject
public Favicon getFaviconObject()
-
setFavicon
@Deprecated public void setFavicon(String favicon)
Deprecated.
-
setFavicon
public void setFavicon(Favicon favicon)
-
setDescription
@Deprecated public void setDescription(String description)
Deprecated.
-
getDescription
@Deprecated public String getDescription()
Deprecated.
-
setDescriptionComponent
public void setDescriptionComponent(BaseComponent description)
-
getDescriptionComponent
public BaseComponent getDescriptionComponent()
-
getVersion
public ServerPing.Protocol getVersion()
-
getPlayers
public ServerPing.Players getPlayers()
-
getModinfo
public ServerPing.ModInfo getModinfo()
-
setVersion
public void setVersion(ServerPing.Protocol version)
-
setPlayers
public void setPlayers(ServerPing.Players players)
-
canEqual
protected boolean canEqual(Object other)
-
-