@Environment(value=CLIENT) public class RealmsServerPlayerList extends ValueObject
Modifier and Type | Field and Description |
---|---|
private static JsonParser |
jsonParser |
private static Logger |
LOGGER |
List<String> |
players |
long |
serverId |
Constructor and Description |
---|
RealmsServerPlayerList() |
Modifier and Type | Method and Description |
---|---|
static RealmsServerPlayerList |
parse(JsonObject node) |
private static List<String> |
parsePlayers(JsonArray jsonArray) |
toString
private static final Logger LOGGER
private static final JsonParser jsonParser
public long serverId
public static RealmsServerPlayerList parse(JsonObject node)