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 drt
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 Ldrt;c:Lorg/apache/logging/log4j/Logger;
      intermediary field_22628 Lnet/minecraft/class_4881;field_22628:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;LOGGER:Lorg/apache/logging/log4j/Logger;
    • jsonParser

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

      public long serverId
      Mappings:
      Namespace Name Mixin selector
      official a Ldrt;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 Ldrt;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 Ldrt;a(Lcom/google/gson/JsonObject;)Ldrt;
      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 Ldrt;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;