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

    • LOGGER

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

      public Map<Long,List<com.mojang.authlib.yggdrasil.ProfileResult>> serverIdToPlayers
      Mappings:
      Namespace Name Mixin selector
      named serverIdToPlayers Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;serverIdToPlayers:Ljava/util/Map;
      intermediary field_52121 Lnet/minecraft/class_4881;field_52121:Ljava/util/Map;
      official a Lfcs;a:Ljava/util/Map;
  • Constructor Details

    • RealmsServerPlayerList

      public RealmsServerPlayerList()
  • Method Details

    • parse

      public static RealmsServerPlayerList parse(String json)
      Mappings:
      Namespace Name Mixin selector
      named parse Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;parse(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;
      intermediary method_25074 Lnet/minecraft/class_4881;method_25074(Ljava/lang/String;)Lnet/minecraft/class_4881;
      official a Lfcs;a(Ljava/lang/String;)Lfcs;
    • parsePlayers

      private static List<com.mojang.authlib.yggdrasil.ProfileResult> parsePlayers(JsonArray jsonArray)
      Mappings:
      Namespace Name Mixin selector
      named parsePlayers Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;parsePlayers(Lcom/google/gson/JsonArray;)Ljava/util/List;
      intermediary method_25073 Lnet/minecraft/class_4881;method_25073(Lcom/google/gson/JsonArray;)Ljava/util/List;
      official a Lfcs;a(Lcom/google/gson/JsonArray;)Ljava/util/List;
    • get

      public List<com.mojang.authlib.yggdrasil.ProfileResult> get(long serverId)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;get(J)Ljava/util/List;
      intermediary method_60863 Lnet/minecraft/class_4881;method_60863(J)Ljava/util/List;
      official a Lfcs;a(J)Ljava/util/List;