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 fcp
  • 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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;e:Lfcp$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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;m:Lfcp$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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;u:Lfcp$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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;a(Lcom/google/gson/JsonObject;)Lfcp;
    • 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 Lfcp;a(Lfcp;)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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;c(Ljava/lang/String;)Lfcp;
    • 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 Lfcp;f(Ljava/lang/String;)Lfcp$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 Lfcp;g(Ljava/lang/String;)Lfcp$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 Lfcp;d(Ljava/lang/String;)Lfcp$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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;g()Lfcp;
    • 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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;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 Lfcp;e(Ljava/lang/String;)Lfzt;