Package net.minecraft.client.realms.dto
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 dmz
intermediary net/minecraft/class_4881
named net/minecraft/client/realms/dto/RealmsServerPlayerList
-
Field Summary
Fields Modifier and Type Field Description private static JsonParser
jsonParser
private static Logger
LOGGER
List<String>
players
long
serverId
-
Constructor Summary
Constructors Constructor Description RealmsServerPlayerList()
-
Method Summary
Modifier and Type Method Description static RealmsServerPlayerList
parse(JsonObject node)
private static List<String>
parsePlayers(JsonArray jsonArray)
Methods inherited from class net.minecraft.client.realms.dto.ValueObject
toString
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official c
Ldmz;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
- Mappings:
Namespace Name Mixin selector official d
Ldmz;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
Ldmz;a:J
intermediary field_22626
Lnet/minecraft/class_4881;field_22626:J
named serverId
Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;serverId:J
-
players
- Mappings:
Namespace Name Mixin selector official b
Ldmz;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
- Mappings:
Namespace Name Mixin selector official a
Ldmz;a(Lcom/google/gson/JsonObject;)Ldmz;
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
- Mappings:
Namespace Name Mixin selector official a
Ldmz;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;
-