Package net.md_5.bungee.api
Class ServerPing
java.lang.Object
net.md_5.bungee.api.ServerPing
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 ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionServerPing(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
Modifier and TypeMethodDescriptionprotected booleanbooleanDeprecated.Deprecated.inthashCode()voidsetDescription(String description) Deprecated.voidsetDescriptionComponent(BaseComponent description) voidsetFavicon(String favicon) Deprecated.voidsetFavicon(Favicon favicon) voidsetPlayers(ServerPing.Players players) voidsetVersion(ServerPing.Protocol version) toString()
-
Constructor Details
-
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 Details
-
getFavicon
Deprecated. -
getFaviconObject
-
setFavicon
Deprecated. -
setFavicon
-
setDescription
Deprecated. -
getDescription
Deprecated. -
setDescriptionComponent
-
getDescriptionComponent
-
getVersion
-
getPlayers
-
getModinfo
-
setVersion
-
setPlayers
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-