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 dto
intermediary net/minecraft/class_4877
named net/minecraft/client/realms/dto/RealmsServer
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official s Ldto;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 Ldto;a:J
      intermediary field_22599 Lnet/minecraft/class_4877;field_22599:J
      named id Lnet/minecraft/client/realms/dto/RealmsServer;id:J
    • remoteSubscriptionId

      public String remoteSubscriptionId
      Mappings:
      Namespace Name Mixin selector
      official b Ldto;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

      public String name
      Mappings:
      Namespace Name Mixin selector
      official c Ldto;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

      public String motd
      Mappings:
      Namespace Name Mixin selector
      official d Ldto;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

      public RealmsServer.State state
      Mappings:
      Namespace Name Mixin selector
      official e Ldto;e:Ldto$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

      public String owner
      Mappings:
      Namespace Name Mixin selector
      official f Ldto;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

      public String ownerUUID
      Mappings:
      Namespace Name Mixin selector
      official g Ldto;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

      public List<PlayerInfo> players
      Mappings:
      Namespace Name Mixin selector
      official h Ldto;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 Ldto;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 Ldto;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 Ldto;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 Ldto;l:I
      intermediary field_22610 Lnet/minecraft/class_4877;field_22610:I
      named daysLeft Lnet/minecraft/client/realms/dto/RealmsServer;daysLeft:I
    • worldType

      public RealmsServer.WorldType worldType
      Mappings:
      Namespace Name Mixin selector
      official m Ldto;m:Ldto$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 Ldto;n:I
      intermediary field_22612 Lnet/minecraft/class_4877;field_22612:I
      named activeSlot Lnet/minecraft/client/realms/dto/RealmsServer;activeSlot:I
    • minigameName

      public String minigameName
      Mappings:
      Namespace Name Mixin selector
      official o Ldto;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 Ldto;p:I
      intermediary field_22614 Lnet/minecraft/class_4877;field_22614:I
      named minigameId Lnet/minecraft/client/realms/dto/RealmsServer;minigameId:I
    • minigameImage

      public String minigameImage
      Mappings:
      Namespace Name Mixin selector
      official q Ldto;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

      public RealmsServerPing serverPing
      Mappings:
      Namespace Name Mixin selector
      official r Ldto;r:Ldtr;
      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

      public String getDescription()
      Mappings:
      Namespace Name Mixin selector
      official a Ldto;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

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      official b Ldto;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

      public String getMinigameName()
      Mappings:
      Namespace Name Mixin selector
      official c Ldto;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

      public void setName(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Ldto;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

      public void setDescription(String description)
      Mappings:
      Namespace Name Mixin selector
      official b Ldto;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

      public void updateServerPing(RealmsServerPlayerList serverPlayerList)
      Mappings:
      Namespace Name Mixin selector
      official a Ldto;a(Ldts;)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

      public static RealmsServer parse(JsonObject node)
      Mappings:
      Namespace Name Mixin selector
      official a Ldto;a(Lcom/google/gson/JsonObject;)Ldto;
      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

      private static void sortInvited(RealmsServer server)
      Mappings:
      Namespace Name Mixin selector
      official a Ldto;a(Ldto;)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

      private static List<PlayerInfo> parseInvited(JsonArray jsonArray)
      Mappings:
      Namespace Name Mixin selector
      official a Ldto;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

      private static Map<Integer,RealmsWorldOptions> parseSlots(JsonArray json)
      Mappings:
      Namespace Name Mixin selector
      official b Ldto;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

      private static Map<Integer,RealmsWorldOptions> getEmptySlots()
      Mappings:
      Namespace Name Mixin selector
      official e Ldto;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

      public static RealmsServer parse(String json)
      Mappings:
      Namespace Name Mixin selector
      official c Ldto;c(Ljava/lang/String;)Ldto;
      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

      private static RealmsServer.State getState(String state)
      Mappings:
      Namespace Name Mixin selector
      official e Ldto;e(Ljava/lang/String;)Ldto$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

      private static RealmsServer.WorldType getWorldType(String state)
      Mappings:
      Namespace Name Mixin selector
      official f Ldto;f(Ljava/lang/String;)Ldto$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()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
      Mappings:
      Namespace Name Mixin selector
      official equals Ldto;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4877;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/client/realms/dto/RealmsServer;equals(Ljava/lang/Object;)Z
    • clone

      public RealmsServer clone()
      Overrides:
      clone in class Object
      Mappings:
      Namespace Name Mixin selector
      official d Ldto;d()Ldto;
      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 Ldto;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

      public String getWorldName(int slotId)
      Mappings:
      Namespace Name Mixin selector
      official a Ldto;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

      public ServerInfo createServerInfo(String address)
      Mappings:
      Namespace Name Mixin selector
      official d Ldto;d(Ljava/lang/String;)Lelq;
      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;