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
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
-
Constructor Summary
ConstructorDescriptionServerPing
(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 boolean
boolean
Deprecated.Deprecated.int
hashCode()
void
setDescription
(String description) Deprecated.void
setDescriptionComponent
(BaseComponent description) void
setFavicon
(String favicon) Deprecated.void
setFavicon
(Favicon favicon) void
setPlayers
(ServerPing.Players players) void
setVersion
(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
-