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

    • LOGGER

      private static final Logger 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 v Lfcj;v: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 w Lfcj;w: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 Lfcj;a:J
    • remoteSubscriptionId

      public String 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 Lfcj;b:Ljava/lang/String;
    • name

      public 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 Lfcj;c:Ljava/lang/String;
    • description

      public 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 Lfcj;d:Ljava/lang/String;
    • state

      public RealmsServer.State 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 Lfcj;e:Lfcj$c;
    • owner

      public String 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 Lfcj;f:Ljava/lang/String;
    • ownerUUID

      public UUID 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 Lfcj;g:Ljava/util/UUID;
    • players

      public List<PlayerInfo> 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 Lfcj;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 Lfcj;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 Lfcj;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 Lfcj;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 Lfcj;l:I
    • worldType

      public RealmsServer.WorldType 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 Lfcj;m:Lfcj$d;
    • 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 n Lfcj;n:I
    • minigameName

      @Nullable public @Nullable String 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 o Lfcj;o: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 p Lfcj;p:I
    • minigameImage

      public String 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 q Lfcj;q: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 r Lfcj;r:J
    • parentWorldName

      @Nullable public @Nullable String 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 s Lfcj;s:Ljava/lang/String;
    • activeVersion

      public 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 t Lfcj;t:Ljava/lang/String;
    • compatibility

      public RealmsServer.Compatibility 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 u Lfcj;u:Lfcj$a;
  • Constructor Details

    • RealmsServer

      public RealmsServer()
  • Method Details

    • getDescription

      public String 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 Lfcj;a()Ljava/lang/String;
    • getName

      public 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 Lfcj;b()Ljava/lang/String;
    • getMinigameName

      @Nullable public @Nullable 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 Lfcj;c()Ljava/lang/String;
    • setName

      public void setName(String name)
      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 Lfcj;a(Ljava/lang/String;)V
    • setDescription

      public void setDescription(String description)
      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 Lfcj;b(Ljava/lang/String;)V
    • parse

      public static RealmsServer parse(JsonObject node)
      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 Lfcj;a(Lcom/google/gson/JsonObject;)Lfcj;
    • sortInvited

      private static void sortInvited(RealmsServer server)
      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 Lfcj;a(Lfcj;)V
    • parseInvited

      private static List<PlayerInfo> parseInvited(JsonArray jsonArray)
      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 Lfcj;a(Lcom/google/gson/JsonArray;)Ljava/util/List;
    • parseSlots

      private static Map<Integer,RealmsWorldOptions> parseSlots(JsonArray json)
      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 Lfcj;b(Lcom/google/gson/JsonArray;)Ljava/util/Map;
    • getEmptySlots

      private static Map<Integer,RealmsWorldOptions> 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 Lfcj;j()Ljava/util/Map;
    • parse

      public static RealmsServer parse(String json)
      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 Lfcj;c(Ljava/lang/String;)Lfcj;
    • getState

      private static RealmsServer.State getState(String state)
      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 Lfcj;f(Ljava/lang/String;)Lfcj$c;
    • getWorldType

      private static RealmsServer.WorldType getWorldType(String worldType)
      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 Lfcj;g(Ljava/lang/String;)Lfcj$d;
    • getCompatibility

      public static RealmsServer.Compatibility getCompatibility(@Nullable @Nullable String compatibility)
      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 Lfcj;d(Ljava/lang/String;)Lfcj$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 Lfcj;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 Lfcj;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 Lfcj;f()Z
    • 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
      named equals Lnet/minecraft/client/realms/dto/RealmsServer;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_4877;equals(Ljava/lang/Object;)Z
      official equals Lfcj;equals(Ljava/lang/Object;)Z
    • clone

      public RealmsServer clone()
      Overrides:
      clone in class Object
      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 Lfcj;g()Lfcj;
    • 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 Lfcj;a(Ljava/util/Map;)Ljava/util/Map;
    • hasParentWorld

      public boolean hasParentWorld()
      Mappings:
      Namespace Name Mixin selector
      named hasParentWorld Lnet/minecraft/client/realms/dto/RealmsServer;hasParentWorld()Z
      intermediary method_54367 Lnet/minecraft/class_4877;method_54367()Z
      official h Lfcj;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 Lfcj;i()Z
    • getWorldName

      public String getWorldName(int slotId)
      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 Lfcj;a(I)Ljava/lang/String;
    • createServerInfo

      public ServerInfo createServerInfo(String address)
      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 Lfcj;e(Ljava/lang/String;)Lfzn;