Package net.minecraft.client.realms.dto
Class RealmsServer
java.lang.Object
net.minecraft.client.realms.dto.ValueObject
net.minecraft.client.realms.dto.RealmsServer
@Environment(CLIENT) public class RealmsServer extends ValueObject
- Mappings:
Namespace Name official dmv
intermediary net/minecraft/class_4877
named net/minecraft/client/realms/dto/RealmsServer
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RealmsServer.McoServerComparator
static class
RealmsServer.State
static class
RealmsServer.WorldType
-
Field Summary
Fields Modifier and Type Field Description int
activeSlot
int
daysLeft
boolean
expired
boolean
expiredTrial
long
id
private static Logger
LOGGER
int
minigameId
String
minigameImage
String
minigameName
String
motd
String
name
String
owner
String
ownerUUID
List<PlayerInfo>
players
String
remoteSubscriptionId
RealmsServerPing
serverPing
Map<Integer,RealmsWorldOptions>
slots
RealmsServer.State
state
RealmsServer.WorldType
worldType
-
Constructor Summary
Constructors Constructor Description RealmsServer()
-
Method Summary
Modifier and Type Method Description RealmsServer
clone()
Map<Integer,RealmsWorldOptions>
cloneSlots(Map<Integer,RealmsWorldOptions> slots)
ServerInfo
createServerInfo(String address)
boolean
equals(Object obj)
String
getDescription()
private static Map<Integer,RealmsWorldOptions>
getEmptySlots()
String
getMinigameName()
String
getName()
private static RealmsServer.State
getState(String state)
String
getWorldName(int slotId)
private static RealmsServer.WorldType
getWorldType(String state)
int
hashCode()
static RealmsServer
parse(JsonObject node)
static RealmsServer
parse(String json)
private static List<PlayerInfo>
parseInvited(JsonArray jsonArray)
private static Map<Integer,RealmsWorldOptions>
parseSlots(JsonArray json)
void
setDescription(String description)
void
setName(String name)
private static void
sortInvited(RealmsServer server)
void
updateServerPing(RealmsServerPlayerList serverPlayerList)
Methods inherited from class net.minecraft.client.realms.dto.ValueObject
toString
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official s
Ldmv;s:Lorg/apache/logging/log4j/Logger;
intermediary field_22617
Lnet/minecraft/class_4877;field_22617:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/dto/RealmsServer;LOGGER:Lorg/apache/logging/log4j/Logger;
-
id
public long id- Mappings:
Namespace Name Mixin selector official a
Ldmv;a:J
intermediary field_22599
Lnet/minecraft/class_4877;field_22599:J
named id
Lnet/minecraft/client/realms/dto/RealmsServer;id:J
-
remoteSubscriptionId
- Mappings:
Namespace Name Mixin selector official b
Ldmv;b:Ljava/lang/String;
intermediary field_22600
Lnet/minecraft/class_4877;field_22600:Ljava/lang/String;
named remoteSubscriptionId
Lnet/minecraft/client/realms/dto/RealmsServer;remoteSubscriptionId:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector official c
Ldmv;c:Ljava/lang/String;
intermediary field_22601
Lnet/minecraft/class_4877;field_22601:Ljava/lang/String;
named name
Lnet/minecraft/client/realms/dto/RealmsServer;name:Ljava/lang/String;
-
motd
- Mappings:
Namespace Name Mixin selector official d
Ldmv;d:Ljava/lang/String;
intermediary field_22602
Lnet/minecraft/class_4877;field_22602:Ljava/lang/String;
named motd
Lnet/minecraft/client/realms/dto/RealmsServer;motd:Ljava/lang/String;
-
state
- Mappings:
Namespace Name Mixin selector official e
Ldmv;e:Ldmv$b;
intermediary field_22603
Lnet/minecraft/class_4877;field_22603:Lnet/minecraft/class_4877$class_4320;
named state
Lnet/minecraft/client/realms/dto/RealmsServer;state:Lnet/minecraft/client/realms/dto/RealmsServer$State;
-
owner
- Mappings:
Namespace Name Mixin selector official f
Ldmv;f:Ljava/lang/String;
intermediary field_22604
Lnet/minecraft/class_4877;field_22604:Ljava/lang/String;
named owner
Lnet/minecraft/client/realms/dto/RealmsServer;owner:Ljava/lang/String;
-
ownerUUID
- Mappings:
Namespace Name Mixin selector official g
Ldmv;g:Ljava/lang/String;
intermediary field_22605
Lnet/minecraft/class_4877;field_22605:Ljava/lang/String;
named ownerUUID
Lnet/minecraft/client/realms/dto/RealmsServer;ownerUUID:Ljava/lang/String;
-
players
- Mappings:
Namespace Name Mixin selector official h
Ldmv;h:Ljava/util/List;
intermediary field_22606
Lnet/minecraft/class_4877;field_22606:Ljava/util/List;
named players
Lnet/minecraft/client/realms/dto/RealmsServer;players:Ljava/util/List;
-
slots
- Mappings:
Namespace Name Mixin selector official i
Ldmv;i:Ljava/util/Map;
intermediary field_22607
Lnet/minecraft/class_4877;field_22607:Ljava/util/Map;
named slots
Lnet/minecraft/client/realms/dto/RealmsServer;slots:Ljava/util/Map;
-
expired
public boolean expired- Mappings:
Namespace Name Mixin selector official j
Ldmv;j:Z
intermediary field_22608
Lnet/minecraft/class_4877;field_22608:Z
named expired
Lnet/minecraft/client/realms/dto/RealmsServer;expired:Z
-
expiredTrial
public boolean expiredTrial- Mappings:
Namespace Name Mixin selector official k
Ldmv;k:Z
intermediary field_22609
Lnet/minecraft/class_4877;field_22609:Z
named expiredTrial
Lnet/minecraft/client/realms/dto/RealmsServer;expiredTrial:Z
-
daysLeft
public int daysLeft- Mappings:
Namespace Name Mixin selector official l
Ldmv;l:I
intermediary field_22610
Lnet/minecraft/class_4877;field_22610:I
named daysLeft
Lnet/minecraft/client/realms/dto/RealmsServer;daysLeft:I
-
worldType
- Mappings:
Namespace Name Mixin selector official m
Ldmv;m:Ldmv$c;
intermediary field_22611
Lnet/minecraft/class_4877;field_22611:Lnet/minecraft/class_4877$class_4321;
named worldType
Lnet/minecraft/client/realms/dto/RealmsServer;worldType:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
activeSlot
public int activeSlot- Mappings:
Namespace Name Mixin selector official n
Ldmv;n:I
intermediary field_22612
Lnet/minecraft/class_4877;field_22612:I
named activeSlot
Lnet/minecraft/client/realms/dto/RealmsServer;activeSlot:I
-
minigameName
- Mappings:
Namespace Name Mixin selector official o
Ldmv;o:Ljava/lang/String;
intermediary field_22613
Lnet/minecraft/class_4877;field_22613:Ljava/lang/String;
named minigameName
Lnet/minecraft/client/realms/dto/RealmsServer;minigameName:Ljava/lang/String;
-
minigameId
public int minigameId- Mappings:
Namespace Name Mixin selector official p
Ldmv;p:I
intermediary field_22614
Lnet/minecraft/class_4877;field_22614:I
named minigameId
Lnet/minecraft/client/realms/dto/RealmsServer;minigameId:I
-
minigameImage
- Mappings:
Namespace Name Mixin selector official q
Ldmv;q:Ljava/lang/String;
intermediary field_22615
Lnet/minecraft/class_4877;field_22615:Ljava/lang/String;
named minigameImage
Lnet/minecraft/client/realms/dto/RealmsServer;minigameImage:Ljava/lang/String;
-
serverPing
- Mappings:
Namespace Name Mixin selector official r
Ldmv;r:Ldmy;
intermediary field_22616
Lnet/minecraft/class_4877;field_22616:Lnet/minecraft/class_4880;
named serverPing
Lnet/minecraft/client/realms/dto/RealmsServer;serverPing:Lnet/minecraft/client/realms/dto/RealmsServerPing;
-
-
Constructor Details
-
RealmsServer
public RealmsServer()
-
-
Method Details
-
getDescription
- Mappings:
Namespace Name Mixin selector official a
Ldmv;a()Ljava/lang/String;
intermediary method_25053
Lnet/minecraft/class_4877;method_25053()Ljava/lang/String;
named getDescription
Lnet/minecraft/client/realms/dto/RealmsServer;getDescription()Ljava/lang/String;
-
getName
- Mappings:
Namespace Name Mixin selector official b
Ldmv;b()Ljava/lang/String;
intermediary method_25062
Lnet/minecraft/class_4877;method_25062()Ljava/lang/String;
named getName
Lnet/minecraft/client/realms/dto/RealmsServer;getName()Ljava/lang/String;
-
getMinigameName
- Mappings:
Namespace Name Mixin selector official c
Ldmv;c()Ljava/lang/String;
intermediary method_25065
Lnet/minecraft/class_4877;method_25065()Ljava/lang/String;
named getMinigameName
Lnet/minecraft/client/realms/dto/RealmsServer;getMinigameName()Ljava/lang/String;
-
setName
- Mappings:
Namespace Name Mixin selector official a
Ldmv;a(Ljava/lang/String;)V
intermediary method_25060
Lnet/minecraft/class_4877;method_25060(Ljava/lang/String;)V
named setName
Lnet/minecraft/client/realms/dto/RealmsServer;setName(Ljava/lang/String;)V
-
setDescription
- Mappings:
Namespace Name Mixin selector official b
Ldmv;b(Ljava/lang/String;)V
intermediary method_25064
Lnet/minecraft/class_4877;method_25064(Ljava/lang/String;)V
named setDescription
Lnet/minecraft/client/realms/dto/RealmsServer;setDescription(Ljava/lang/String;)V
-
updateServerPing
- Mappings:
Namespace Name Mixin selector official a
Ldmv;a(Ldmz;)V
intermediary method_25059
Lnet/minecraft/class_4877;method_25059(Lnet/minecraft/class_4881;)V
named updateServerPing
Lnet/minecraft/client/realms/dto/RealmsServer;updateServerPing(Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;)V
-
parse
- Mappings:
Namespace Name Mixin selector official a
Ldmv;a(Lcom/google/gson/JsonObject;)Ldmv;
intermediary method_25056
Lnet/minecraft/class_4877;method_25056(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_4877;
named parse
Lnet/minecraft/client/realms/dto/RealmsServer;parse(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/realms/dto/RealmsServer;
-
sortInvited
- Mappings:
Namespace Name Mixin selector official a
Ldmv;a(Ldmv;)V
intermediary method_25058
Lnet/minecraft/class_4877;method_25058(Lnet/minecraft/class_4877;)V
named sortInvited
Lnet/minecraft/client/realms/dto/RealmsServer;sortInvited(Lnet/minecraft/client/realms/dto/RealmsServer;)V
-
parseInvited
- Mappings:
Namespace Name Mixin selector official a
Ldmv;a(Lcom/google/gson/JsonArray;)Ljava/util/List;
intermediary method_25055
Lnet/minecraft/class_4877;method_25055(Lcom/google/gson/JsonArray;)Ljava/util/List;
named parseInvited
Lnet/minecraft/client/realms/dto/RealmsServer;parseInvited(Lcom/google/gson/JsonArray;)Ljava/util/List;
-
parseSlots
- Mappings:
Namespace Name Mixin selector official b
Ldmv;b(Lcom/google/gson/JsonArray;)Ljava/util/Map;
intermediary method_25063
Lnet/minecraft/class_4877;method_25063(Lcom/google/gson/JsonArray;)Ljava/util/Map;
named parseSlots
Lnet/minecraft/client/realms/dto/RealmsServer;parseSlots(Lcom/google/gson/JsonArray;)Ljava/util/Map;
-
getEmptySlots
- Mappings:
Namespace Name Mixin selector official e
Ldmv;e()Ljava/util/Map;
intermediary method_25069
Lnet/minecraft/class_4877;method_25069()Ljava/util/Map;
named getEmptySlots
Lnet/minecraft/client/realms/dto/RealmsServer;getEmptySlots()Ljava/util/Map;
-
parse
- Mappings:
Namespace Name Mixin selector official c
Ldmv;c(Ljava/lang/String;)Ldmv;
intermediary method_25066
Lnet/minecraft/class_4877;method_25066(Ljava/lang/String;)Lnet/minecraft/class_4877;
named parse
Lnet/minecraft/client/realms/dto/RealmsServer;parse(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsServer;
-
getState
- Mappings:
Namespace Name Mixin selector official e
Ldmv;e(Ljava/lang/String;)Ldmv$b;
intermediary method_25068
Lnet/minecraft/class_4877;method_25068(Ljava/lang/String;)Lnet/minecraft/class_4877$class_4320;
named getState
Lnet/minecraft/client/realms/dto/RealmsServer;getState(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsServer$State;
-
getWorldType
- Mappings:
Namespace Name Mixin selector official f
Ldmv;f(Ljava/lang/String;)Ldmv$c;
intermediary method_25070
Lnet/minecraft/class_4877;method_25070(Ljava/lang/String;)Lnet/minecraft/class_4877$class_4321;
named getWorldType
Lnet/minecraft/client/realms/dto/RealmsServer;getWorldType(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
-
hashCode
public int hashCode() -
equals
-
clone
- Overrides:
clone
in classObject
- Mappings:
Namespace Name Mixin selector official d
Ldmv;d()Ldmv;
intermediary method_25067
Lnet/minecraft/class_4877;method_25067()Lnet/minecraft/class_4877;
named clone
Lnet/minecraft/client/realms/dto/RealmsServer;clone()Lnet/minecraft/client/realms/dto/RealmsServer;
-
cloneSlots
- Mappings:
Namespace Name Mixin selector official a
Ldmv;a(Ljava/util/Map;)Ljava/util/Map;
intermediary method_25061
Lnet/minecraft/class_4877;method_25061(Ljava/util/Map;)Ljava/util/Map;
named cloneSlots
Lnet/minecraft/client/realms/dto/RealmsServer;cloneSlots(Ljava/util/Map;)Ljava/util/Map;
-
getWorldName
- Mappings:
Namespace Name Mixin selector official a
Ldmv;a(I)Ljava/lang/String;
intermediary method_25054
Lnet/minecraft/class_4877;method_25054(I)Ljava/lang/String;
named getWorldName
Lnet/minecraft/client/realms/dto/RealmsServer;getWorldName(I)Ljava/lang/String;
-
createServerInfo
- Mappings:
Namespace Name Mixin selector official d
Ldmv;d(Ljava/lang/String;)Leee;
intermediary method_31403
Lnet/minecraft/class_4877;method_31403(Ljava/lang/String;)Lnet/minecraft/class_642;
named createServerInfo
Lnet/minecraft/client/realms/dto/RealmsServer;createServerInfo(Ljava/lang/String;)Lnet/minecraft/client/network/ServerInfo;
-