Class RealmsServerPlayerList

java.lang.Object
net.minecraft.client.realms.dto.ValueObject
net.minecraft.client.realms.dto.RealmsServerPlayerList

@Environment(CLIENT) public class RealmsServerPlayerList extends ValueObject
Mappings:
Namespace Name
official eio
intermediary net/minecraft/class_4881
named net/minecraft/client/realms/dto/RealmsServerPlayerList
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Leio;c:Lorg/slf4j/Logger;
      intermediary field_22628 Lnet/minecraft/class_4881;field_22628:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;LOGGER:Lorg/slf4j/Logger;
    • JSON_PARSER

      private static final JsonParser JSON_PARSER
      Mappings:
      Namespace Name Mixin selector
      official d Leio;d:Lcom/google/gson/JsonParser;
      intermediary field_22629 Lnet/minecraft/class_4881;field_22629:Lcom/google/gson/JsonParser;
      named JSON_PARSER Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;JSON_PARSER:Lcom/google/gson/JsonParser;
    • serverId

      public long serverId
      Mappings:
      Namespace Name Mixin selector
      official a Leio;a:J
      intermediary field_22626 Lnet/minecraft/class_4881;field_22626:J
      named serverId Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;serverId:J
    • players

      public List<String> players
      Mappings:
      Namespace Name Mixin selector
      official b Leio;b:Ljava/util/List;
      intermediary field_22627 Lnet/minecraft/class_4881;field_22627:Ljava/util/List;
      named players Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;players:Ljava/util/List;
  • Constructor Details

    • RealmsServerPlayerList

      public RealmsServerPlayerList()
  • Method Details

    • parse

      public static RealmsServerPlayerList parse(JsonObject node)
      Mappings:
      Namespace Name Mixin selector
      official a Leio;a(Lcom/google/gson/JsonObject;)Leio;
      intermediary method_25074 Lnet/minecraft/class_4881;method_25074(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_4881;
      named parse Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;parse(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;
    • parsePlayers

      private static List<String> parsePlayers(JsonArray jsonArray)
      Mappings:
      Namespace Name Mixin selector
      official a Leio;a(Lcom/google/gson/JsonArray;)Ljava/util/List;
      intermediary method_25073 Lnet/minecraft/class_4881;method_25073(Lcom/google/gson/JsonArray;)Ljava/util/List;
      named parsePlayers Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;parsePlayers(Lcom/google/gson/JsonArray;)Ljava/util/List;