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 duv
intermediary net/minecraft/class_4881
named net/minecraft/client/realms/dto/RealmsServerPlayerList
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official c Lduv;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 Lduv;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 Lduv;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 Lduv;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 Lduv;a(Lcom/google/gson/JsonObject;)Lduv;
      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 Lduv;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;