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 named net/minecraft/client/realms/dto/RealmsServer
intermediary net/minecraft/class_4877
official fii
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static enum
static enum
-
Field Summary
Modifier and TypeFieldDescriptionint
int
boolean
boolean
int
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
private static boolean
isSet
(JsonObject json, String name, boolean defaultValue) boolean
boolean
static RealmsServer
parse
(JsonObject node) static RealmsServer
private static List
<PlayerInfo> parseInvited
(JsonArray jsonArray) private static RealmsWorldSettings
parseSettings
(JsonElement json) private static Map
<Integer, RealmsWorldOptions> parseSlots
(JsonArray json) void
setDescription
(String description) void
private static void
sortInvited
(RealmsServer server) Methods inherited from class net.minecraft.client.realms.dto.ValueObject
toString
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/client/realms/dto/RealmsServer;LOGGER:Lorg/slf4j/Logger;
intermediary field_22617
Lnet/minecraft/class_4877;field_22617:Lorg/slf4j/Logger;
official x
Lfii;x:Lorg/slf4j/Logger;
-
NO_PARENT
private static final int NO_PARENT- See Also:
- Mappings:
Namespace Name Mixin selector named NO_PARENT
Lnet/minecraft/client/realms/dto/RealmsServer;NO_PARENT:I
intermediary field_46696
Lnet/minecraft/class_4877;field_46696:I
official y
Lfii;y:I
-
id
public long id- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/client/realms/dto/RealmsServer;id:J
intermediary field_22599
Lnet/minecraft/class_4877;field_22599:J
official a
Lfii;a:J
-
remoteSubscriptionId
- Mappings:
Namespace Name Mixin selector named remoteSubscriptionId
Lnet/minecraft/client/realms/dto/RealmsServer;remoteSubscriptionId:Ljava/lang/String;
intermediary field_22600
Lnet/minecraft/class_4877;field_22600:Ljava/lang/String;
official b
Lfii;b:Ljava/lang/String;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/client/realms/dto/RealmsServer;name:Ljava/lang/String;
intermediary field_22601
Lnet/minecraft/class_4877;field_22601:Ljava/lang/String;
official c
Lfii;c:Ljava/lang/String;
-
description
- Mappings:
Namespace Name Mixin selector named description
Lnet/minecraft/client/realms/dto/RealmsServer;description:Ljava/lang/String;
intermediary field_22602
Lnet/minecraft/class_4877;field_22602:Ljava/lang/String;
official d
Lfii;d:Ljava/lang/String;
-
state
- Mappings:
Namespace Name Mixin selector named state
Lnet/minecraft/client/realms/dto/RealmsServer;state:Lnet/minecraft/client/realms/dto/RealmsServer$State;
intermediary field_22603
Lnet/minecraft/class_4877;field_22603:Lnet/minecraft/class_4877$class_4320;
official e
Lfii;e:Lfii$c;
-
owner
- Mappings:
Namespace Name Mixin selector named owner
Lnet/minecraft/client/realms/dto/RealmsServer;owner:Ljava/lang/String;
intermediary field_22604
Lnet/minecraft/class_4877;field_22604:Ljava/lang/String;
official f
Lfii;f:Ljava/lang/String;
-
ownerUUID
- Mappings:
Namespace Name Mixin selector named ownerUUID
Lnet/minecraft/client/realms/dto/RealmsServer;ownerUUID:Ljava/util/UUID;
intermediary field_22605
Lnet/minecraft/class_4877;field_22605:Ljava/util/UUID;
official g
Lfii;g:Ljava/util/UUID;
-
players
- Mappings:
Namespace Name Mixin selector named players
Lnet/minecraft/client/realms/dto/RealmsServer;players:Ljava/util/List;
intermediary field_22606
Lnet/minecraft/class_4877;field_22606:Ljava/util/List;
official h
Lfii;h:Ljava/util/List;
-
slots
- Mappings:
Namespace Name Mixin selector named slots
Lnet/minecraft/client/realms/dto/RealmsServer;slots:Ljava/util/Map;
intermediary field_22607
Lnet/minecraft/class_4877;field_22607:Ljava/util/Map;
official i
Lfii;i:Ljava/util/Map;
-
expired
public boolean expired- Mappings:
Namespace Name Mixin selector named expired
Lnet/minecraft/client/realms/dto/RealmsServer;expired:Z
intermediary field_22608
Lnet/minecraft/class_4877;field_22608:Z
official j
Lfii;j:Z
-
expiredTrial
public boolean expiredTrial- Mappings:
Namespace Name Mixin selector named expiredTrial
Lnet/minecraft/client/realms/dto/RealmsServer;expiredTrial:Z
intermediary field_22609
Lnet/minecraft/class_4877;field_22609:Z
official k
Lfii;k:Z
-
daysLeft
public int daysLeft- Mappings:
Namespace Name Mixin selector named daysLeft
Lnet/minecraft/client/realms/dto/RealmsServer;daysLeft:I
intermediary field_22610
Lnet/minecraft/class_4877;field_22610:I
official l
Lfii;l:I
-
worldType
- Mappings:
Namespace Name Mixin selector named worldType
Lnet/minecraft/client/realms/dto/RealmsServer;worldType:Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
intermediary field_22611
Lnet/minecraft/class_4877;field_22611:Lnet/minecraft/class_4877$class_4321;
official m
Lfii;m:Lfii$d;
-
hardcore
public boolean hardcore- Mappings:
Namespace Name Mixin selector named hardcore
Lnet/minecraft/client/realms/dto/RealmsServer;hardcore:Z
intermediary field_54807
Lnet/minecraft/class_4877;field_54807:Z
official n
Lfii;n:Z
-
gameMode
public int gameMode- Mappings:
Namespace Name Mixin selector named gameMode
Lnet/minecraft/client/realms/dto/RealmsServer;gameMode:I
intermediary field_54808
Lnet/minecraft/class_4877;field_54808:I
official o
Lfii;o:I
-
activeSlot
public int activeSlot- Mappings:
Namespace Name Mixin selector named activeSlot
Lnet/minecraft/client/realms/dto/RealmsServer;activeSlot:I
intermediary field_22612
Lnet/minecraft/class_4877;field_22612:I
official p
Lfii;p:I
-
minigameName
- Mappings:
Namespace Name Mixin selector named minigameName
Lnet/minecraft/client/realms/dto/RealmsServer;minigameName:Ljava/lang/String;
intermediary field_22613
Lnet/minecraft/class_4877;field_22613:Ljava/lang/String;
official q
Lfii;q:Ljava/lang/String;
-
minigameId
public int minigameId- Mappings:
Namespace Name Mixin selector named minigameId
Lnet/minecraft/client/realms/dto/RealmsServer;minigameId:I
intermediary field_22614
Lnet/minecraft/class_4877;field_22614:I
official r
Lfii;r:I
-
minigameImage
- Mappings:
Namespace Name Mixin selector named minigameImage
Lnet/minecraft/client/realms/dto/RealmsServer;minigameImage:Ljava/lang/String;
intermediary field_22615
Lnet/minecraft/class_4877;field_22615:Ljava/lang/String;
official s
Lfii;s:Ljava/lang/String;
-
parentWorldId
public long parentWorldId- Mappings:
Namespace Name Mixin selector named parentWorldId
Lnet/minecraft/client/realms/dto/RealmsServer;parentWorldId:J
intermediary field_46692
Lnet/minecraft/class_4877;field_46692:J
official t
Lfii;t:J
-
parentWorldName
- Mappings:
Namespace Name Mixin selector named parentWorldName
Lnet/minecraft/client/realms/dto/RealmsServer;parentWorldName:Ljava/lang/String;
intermediary field_46693
Lnet/minecraft/class_4877;field_46693:Ljava/lang/String;
official u
Lfii;u:Ljava/lang/String;
-
activeVersion
- Mappings:
Namespace Name Mixin selector named activeVersion
Lnet/minecraft/client/realms/dto/RealmsServer;activeVersion:Ljava/lang/String;
intermediary field_46694
Lnet/minecraft/class_4877;field_46694:Ljava/lang/String;
official v
Lfii;v:Ljava/lang/String;
-
compatibility
- Mappings:
Namespace Name Mixin selector named compatibility
Lnet/minecraft/client/realms/dto/RealmsServer;compatibility:Lnet/minecraft/client/realms/dto/RealmsServer$Compatibility;
intermediary field_46695
Lnet/minecraft/class_4877;field_46695:Lnet/minecraft/class_4877$class_8842;
official w
Lfii;w:Lfii$a;
-
-
Constructor Details
-
RealmsServer
public RealmsServer()
-
-
Method Details
-
getDescription
- Mappings:
Namespace Name Mixin selector named getDescription
Lnet/minecraft/client/realms/dto/RealmsServer;getDescription()Ljava/lang/String;
intermediary method_25053
Lnet/minecraft/class_4877;method_25053()Ljava/lang/String;
official a
Lfii;a()Ljava/lang/String;
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/client/realms/dto/RealmsServer;getName()Ljava/lang/String;
intermediary method_25062
Lnet/minecraft/class_4877;method_25062()Ljava/lang/String;
official b
Lfii;b()Ljava/lang/String;
-
getMinigameName
- Mappings:
Namespace Name Mixin selector named getMinigameName
Lnet/minecraft/client/realms/dto/RealmsServer;getMinigameName()Ljava/lang/String;
intermediary method_25065
Lnet/minecraft/class_4877;method_25065()Ljava/lang/String;
official c
Lfii;c()Ljava/lang/String;
-
setName
- Mappings:
Namespace Name Mixin selector named setName
Lnet/minecraft/client/realms/dto/RealmsServer;setName(Ljava/lang/String;)V
intermediary method_25060
Lnet/minecraft/class_4877;method_25060(Ljava/lang/String;)V
official a
Lfii;a(Ljava/lang/String;)V
-
setDescription
- Mappings:
Namespace Name Mixin selector named setDescription
Lnet/minecraft/client/realms/dto/RealmsServer;setDescription(Ljava/lang/String;)V
intermediary method_25064
Lnet/minecraft/class_4877;method_25064(Ljava/lang/String;)V
official b
Lfii;b(Ljava/lang/String;)V
-
parse
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/client/realms/dto/RealmsServer;parse(Lcom/google/gson/JsonObject;)Lnet/minecraft/client/realms/dto/RealmsServer;
intermediary method_25056
Lnet/minecraft/class_4877;method_25056(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_4877;
official a
Lfii;a(Lcom/google/gson/JsonObject;)Lfii;
-
sortInvited
- Mappings:
Namespace Name Mixin selector named sortInvited
Lnet/minecraft/client/realms/dto/RealmsServer;sortInvited(Lnet/minecraft/client/realms/dto/RealmsServer;)V
intermediary method_25058
Lnet/minecraft/class_4877;method_25058(Lnet/minecraft/class_4877;)V
official a
Lfii;a(Lfii;)V
-
parseInvited
- Mappings:
Namespace Name Mixin selector named parseInvited
Lnet/minecraft/client/realms/dto/RealmsServer;parseInvited(Lcom/google/gson/JsonArray;)Ljava/util/List;
intermediary method_25055
Lnet/minecraft/class_4877;method_25055(Lcom/google/gson/JsonArray;)Ljava/util/List;
official a
Lfii;a(Lcom/google/gson/JsonArray;)Ljava/util/List;
-
parseSlots
- Mappings:
Namespace Name Mixin selector named parseSlots
Lnet/minecraft/client/realms/dto/RealmsServer;parseSlots(Lcom/google/gson/JsonArray;)Ljava/util/Map;
intermediary method_25063
Lnet/minecraft/class_4877;method_25063(Lcom/google/gson/JsonArray;)Ljava/util/Map;
official b
Lfii;b(Lcom/google/gson/JsonArray;)Ljava/util/Map;
-
parseSettings
- Mappings:
Namespace Name Mixin selector named parseSettings
Lnet/minecraft/client/realms/dto/RealmsServer;parseSettings(Lcom/google/gson/JsonElement;)Lnet/minecraft/client/realms/dto/RealmsWorldSettings;
intermediary method_64843
Lnet/minecraft/class_4877;method_64843(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_10327;
official a
Lfii;a(Lcom/google/gson/JsonElement;)Lfim;
-
isSet
- Mappings:
Namespace Name Mixin selector named isSet
Lnet/minecraft/client/realms/dto/RealmsServer;isSet(Lcom/google/gson/JsonObject;Ljava/lang/String;Z)Z
intermediary method_64844
Lnet/minecraft/class_4877;method_64844(Lcom/google/gson/JsonObject;Ljava/lang/String;Z)Z
official a
Lfii;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Z)Z
-
getEmptySlots
- Mappings:
Namespace Name Mixin selector named getEmptySlots
Lnet/minecraft/client/realms/dto/RealmsServer;getEmptySlots()Ljava/util/Map;
intermediary method_25069
Lnet/minecraft/class_4877;method_25069()Ljava/util/Map;
official j
Lfii;j()Ljava/util/Map;
-
parse
- Mappings:
Namespace Name Mixin selector named parse
Lnet/minecraft/client/realms/dto/RealmsServer;parse(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsServer;
intermediary method_25066
Lnet/minecraft/class_4877;method_25066(Ljava/lang/String;)Lnet/minecraft/class_4877;
official c
Lfii;c(Ljava/lang/String;)Lfii;
-
getState
- Mappings:
Namespace Name Mixin selector named getState
Lnet/minecraft/client/realms/dto/RealmsServer;getState(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsServer$State;
intermediary method_25068
Lnet/minecraft/class_4877;method_25068(Ljava/lang/String;)Lnet/minecraft/class_4877$class_4320;
official f
Lfii;f(Ljava/lang/String;)Lfii$c;
-
getWorldType
- Mappings:
Namespace Name Mixin selector named getWorldType
Lnet/minecraft/client/realms/dto/RealmsServer;getWorldType(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsServer$WorldType;
intermediary method_25070
Lnet/minecraft/class_4877;method_25070(Ljava/lang/String;)Lnet/minecraft/class_4877$class_4321;
official g
Lfii;g(Ljava/lang/String;)Lfii$d;
-
getCompatibility
- Mappings:
Namespace Name Mixin selector named getCompatibility
Lnet/minecraft/client/realms/dto/RealmsServer;getCompatibility(Ljava/lang/String;)Lnet/minecraft/client/realms/dto/RealmsServer$Compatibility;
intermediary method_54366
Lnet/minecraft/class_4877;method_54366(Ljava/lang/String;)Lnet/minecraft/class_4877$class_8842;
official d
Lfii;d(Ljava/lang/String;)Lfii$a;
-
isCompatible
public boolean isCompatible()- Mappings:
Namespace Name Mixin selector named isCompatible
Lnet/minecraft/client/realms/dto/RealmsServer;isCompatible()Z
intermediary method_54363
Lnet/minecraft/class_4877;method_54363()Z
official d
Lfii;d()Z
-
needsUpgrade
public boolean needsUpgrade()- Mappings:
Namespace Name Mixin selector named needsUpgrade
Lnet/minecraft/client/realms/dto/RealmsServer;needsUpgrade()Z
intermediary method_54364
Lnet/minecraft/class_4877;method_54364()Z
official e
Lfii;e()Z
-
needsDowngrade
public boolean needsDowngrade()- Mappings:
Namespace Name Mixin selector named needsDowngrade
Lnet/minecraft/client/realms/dto/RealmsServer;needsDowngrade()Z
intermediary method_54365
Lnet/minecraft/class_4877;method_54365()Z
official f
Lfii;f()Z
-
hashCode
public int hashCode() -
equals
-
clone
- Overrides:
clone
in classObject
- Mappings:
Namespace Name Mixin selector named clone
Lnet/minecraft/client/realms/dto/RealmsServer;clone()Lnet/minecraft/client/realms/dto/RealmsServer;
intermediary method_25067
Lnet/minecraft/class_4877;method_25067()Lnet/minecraft/class_4877;
official g
Lfii;g()Lfii;
-
cloneSlots
- Mappings:
Namespace Name Mixin selector named cloneSlots
Lnet/minecraft/client/realms/dto/RealmsServer;cloneSlots(Ljava/util/Map;)Ljava/util/Map;
intermediary method_25061
Lnet/minecraft/class_4877;method_25061(Ljava/util/Map;)Ljava/util/Map;
official a
Lfii;a(Ljava/util/Map;)Ljava/util/Map;
-
isPrerelease
public boolean isPrerelease()- Mappings:
Namespace Name Mixin selector named isPrerelease
Lnet/minecraft/client/realms/dto/RealmsServer;isPrerelease()Z
intermediary method_54367
Lnet/minecraft/class_4877;method_54367()Z
official h
Lfii;h()Z
-
isMinigame
public boolean isMinigame()- Mappings:
Namespace Name Mixin selector named isMinigame
Lnet/minecraft/client/realms/dto/RealmsServer;isMinigame()Z
intermediary method_60315
Lnet/minecraft/class_4877;method_60315()Z
official i
Lfii;i()Z
-
getWorldName
- Mappings:
Namespace Name Mixin selector named getWorldName
Lnet/minecraft/client/realms/dto/RealmsServer;getWorldName(I)Ljava/lang/String;
intermediary method_25054
Lnet/minecraft/class_4877;method_25054(I)Ljava/lang/String;
official a
Lfii;a(I)Ljava/lang/String;
-
createServerInfo
- Mappings:
Namespace Name Mixin selector named createServerInfo
Lnet/minecraft/client/realms/dto/RealmsServer;createServerInfo(Ljava/lang/String;)Lnet/minecraft/client/network/ServerInfo;
intermediary method_31403
Lnet/minecraft/class_4877;method_31403(Ljava/lang/String;)Lnet/minecraft/class_642;
official e
Lfii;e(Ljava/lang/String;)Lgfy;
-