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 ebb
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 Lebb;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 Lebb;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 Lebb;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 Lebb;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 Lebb;a(Lcom/google/gson/JsonObject;)Lebb;
      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 Lebb;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;