Package net.minecraft.client.realms.dto
Class RealmsServer
java.lang.Object
net.minecraft.client.realms.dto.ValueObject
net.minecraft.client.realms.dto.RealmsServer
- Mappings:
Namespace Name official eri
intermediary net/minecraft/class_4877
named net/minecraft/client/realms/dto/RealmsServer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static enum
static enum
-
Field Summary
Modifier and TypeFieldDescriptionint
int
boolean
boolean
long
private static final Logger
int
private static final int
long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
cloneSlots
(Map<Integer, RealmsWorldOptions> slots) createServerInfo
(String address) boolean
static RealmsServer.Compatibility
getCompatibility
(@Nullable String compatibility) private static Map<Integer,
RealmsWorldOptions> getName()
private static RealmsServer.State
getWorldName
(int slotId) private static RealmsServer.WorldType
getWorldType
(String worldType) int
hashCode()
boolean
boolean
boolean
boolean
static RealmsServer
parse
(JsonObject node) static RealmsServer
private static List<PlayerInfo>
parseInvited
(JsonArray jsonArray) private static Map<Integer,
RealmsWorldOptions> parseSlots
(JsonArray json) void
setDescription
(String description) void
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 w
Leri;w:Lorg/slf4j/Logger;
intermediary field_22617
Lnet/minecraft/class_4877;field_22617:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/client/realms/dto/RealmsServer;LOGGER:Lorg/slf4j/Logger;
-
NO_PARENT
private static final int NO_PARENT- See Also:
- Mappings:
Namespace Name Mixin selector official x
Leri;x:I
intermediary field_46696
Lnet/minecraft/class_4877;field_46696:I
named NO_PARENT
Lnet/minecraft/client/realms/dto/RealmsServer;NO_PARENT:I
-
id
public long id- Mappings:
Namespace Name Mixin selector official a
Leri;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
Leri;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
Leri;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;
-
description
- Mappings:
Namespace Name Mixin selector official d
Leri;d:Ljava/lang/String;
intermediary field_22602
Lnet/minecraft/class_4877;field_22602:Ljava/lang/String;
named description
Lnet/minecraft/client/realms/dto/RealmsServer;description:Ljava/lang/String;
-
state
- Mappings:
Namespace Name Mixin selector official e
Leri;e:Leri$c;
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
Leri;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
Leri;g:Ljava/util/UUID;
intermediary field_22605
Lnet/minecraft/class_4877;field_22605:Ljava/util/UUID;
named ownerUUID
Lnet/minecraft/client/realms/dto/RealmsServer;ownerUUID:Ljava/util/UUID;
-
players
- Mappings:
Namespace Name Mixin selector official h
Leri;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
Leri;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
Leri;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
Leri;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
Leri;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
Leri;m:Leri$d;
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
Leri;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
Leri;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
Leri;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
Leri;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;
-
parentWorldId
public long parentWorldId- Mappings:
Namespace Name Mixin selector official r
Leri;r:J
intermediary field_46692
Lnet/minecraft/class_4877;field_46692:J
named parentWorldId
Lnet/minecraft/client/realms/dto/RealmsServer;parentWorldId:J
-
parentWorldName
- Mappings:
Namespace Name Mixin selector official s
Leri;s:Ljava/lang/String;
intermediary field_46693
Lnet/minecraft/class_4877;field_46693:Ljava/lang/String;
named parentWorldName
Lnet/minecraft/client/realms/dto/RealmsServer;parentWorldName:Ljava/lang/String;
-
activeVersion
- Mappings:
Namespace Name Mixin selector official t
Leri;t:Ljava/lang/String;
intermediary field_46694
Lnet/minecraft/class_4877;field_46694:Ljava/lang/String;
named activeVersion
Lnet/minecraft/client/realms/dto/RealmsServer;activeVersion:Ljava/lang/String;
-
compatibility
- Mappings:
Namespace Name Mixin selector official u
Leri;u:Leri$a;
intermediary field_46695
Lnet/minecraft/class_4877;field_46695:Lnet/minecraft/class_4877$class_8842;
named compatibility
Lnet/minecraft/client/realms/dto/RealmsServer;compatibility:Lnet/minecraft/client/realms/dto/RealmsServer$Compatibility;
-
serverPing
- Mappings:
Namespace Name Mixin selector official v
Leri;v:Lerl;
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
Leri;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
Leri;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
Leri;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
Leri;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
Leri;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
Leri;a(Lerm;)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
Leri;a(Lcom/google/gson/JsonObject;)Leri;
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
Leri;a(Leri;)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
Leri;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
Leri;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 i
Leri;i()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
Leri;c(Ljava/lang/String;)Leri;
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 f
Leri;f(Ljava/lang/String;)Leri$c;
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 g
Leri;g(Ljava/lang/String;)Leri$d;
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;
-
getCompatibility
- Mappings:
Namespace Name Mixin selector official d
Leri;d(Ljava/lang/String;)Leri$a;
intermediary method_54366
Lnet/minecraft/class_4877;method_54366(Ljava/lang/String;)Lnet/minecraft/class_4877$class_8842;
named getCompatibility
Lnet/minecraft/client/realms/dto/RealmsServer;getCompatibility(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsServer$Compatibility;
-
isCompatible
public boolean isCompatible()- Mappings:
Namespace Name Mixin selector official d
Leri;d()Z
intermediary method_54363
Lnet/minecraft/class_4877;method_54363()Z
named isCompatible
Lnet/minecraft/client/realms/dto/RealmsServer;isCompatible()Z
-
needsUpgrade
public boolean needsUpgrade()- Mappings:
Namespace Name Mixin selector official e
Leri;e()Z
intermediary method_54364
Lnet/minecraft/class_4877;method_54364()Z
named needsUpgrade
Lnet/minecraft/client/realms/dto/RealmsServer;needsUpgrade()Z
-
needsDowngrade
public boolean needsDowngrade()- Mappings:
Namespace Name Mixin selector official f
Leri;f()Z
intermediary method_54365
Lnet/minecraft/class_4877;method_54365()Z
named needsDowngrade
Lnet/minecraft/client/realms/dto/RealmsServer;needsDowngrade()Z
-
hashCode
public int hashCode() -
equals
-
clone
- Overrides:
clone
in classObject
- Mappings:
Namespace Name Mixin selector official g
Leri;g()Leri;
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
Leri;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;
-
hasParentWorld
public boolean hasParentWorld()- Mappings:
Namespace Name Mixin selector official h
Leri;h()Z
intermediary method_54367
Lnet/minecraft/class_4877;method_54367()Z
named hasParentWorld
Lnet/minecraft/client/realms/dto/RealmsServer;hasParentWorld()Z
-
getWorldName
- Mappings:
Namespace Name Mixin selector official a
Leri;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 e
Leri;e(Ljava/lang/String;)Lfod;
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;
-