public static class ServerStatusResponse.Players
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ServerStatusResponse.Players.Serializer |
Modifier and Type | Field and Description |
---|---|
private int |
maxPlayers |
private int |
onlinePlayerCount |
private com.mojang.authlib.GameProfile[] |
players |
Constructor and Description |
---|
Players(int maxOnlinePlayers,
int onlinePlayers) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxPlayers() |
int |
getOnlinePlayerCount() |
com.mojang.authlib.GameProfile[] |
getPlayers() |
void |
setPlayers(com.mojang.authlib.GameProfile[] playersIn) |