Class RealmsServerPlayerList

java.lang.Object
com.mojang.realmsclient.dto.ValueObject
com.mojang.realmsclient.dto.RealmsServerPlayerList

public class RealmsServerPlayerList extends ValueObject
  • Field Details

    • LOGGER

      private static final org.apache.logging.log4j.Logger LOGGER
    • JSON_PARSER

      private static final com.google.gson.JsonParser JSON_PARSER
    • serverId

      public long serverId
    • players

      public List<String> players
  • Constructor Details

    • RealmsServerPlayerList

      public RealmsServerPlayerList()
  • Method Details

    • parse

      public static RealmsServerPlayerList parse(com.google.gson.JsonObject p_230785_0_)
    • parsePlayers

      private static List<String> parsePlayers(com.google.gson.JsonArray p_230784_0_)