public static interface ClientPingServerEvent.Response.Players extends StatusResponse.Players
ClientPingServerEvent
.Modifier and Type | Method and Description |
---|---|
List<GameProfile> |
getProfiles()
Gets an mutable list of online players on the server to display
on the client.
|
void |
setMax(int max)
Sets the maximum amount of allowed players to display on the
client.
|
void |
setOnline(int online)
Sets the amount of online players to display on the client.
|
getMax, getOnline
void setOnline(int online)
online
- The amount of online playersvoid setMax(int max)
max
- The maximum amount of playersList<GameProfile> getProfiles()
getProfiles
in interface StatusResponse.Players