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 drp
intermediary net/minecraft/class_4877
named net/minecraft/client/realms/dto/RealmsServer
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
cloneSlots(Map<Integer,RealmsWorldOptions> slots)
createServerInfo(String address)
boolean
private static Map<Integer,RealmsWorldOptions>
getName()
private static RealmsServer.State
getWorldName(int slotId)
private static RealmsServer.WorldType
getWorldType(String state)
int
hashCode()
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 s
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;e:Ldrp$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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;m:Ldrp$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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;r:Ldrs;
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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;a(Ldrt;)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
Ldrp;a(Lcom/google/gson/JsonObject;)Ldrp;
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
Ldrp;a(Ldrp;)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
Ldrp;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
Ldrp;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
Ldrp;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
Ldrp;c(Ljava/lang/String;)Ldrp;
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
Ldrp;e(Ljava/lang/String;)Ldrp$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
Ldrp;f(Ljava/lang/String;)Ldrp$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
Ldrp;d()Ldrp;
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
Ldrp;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
Ldrp;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
Ldrp;d(Ljava/lang/String;)Lejm;
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;
-