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 fbh
  • 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 w Lfbh;w: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 x Lfbh;x: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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;e:Lfbh$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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;m:Lfbh$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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;u:Lfbh$a;
    • serverPing

      public RealmsServerPing serverPing
      Mappings:
      Namespace Name Mixin selector
      named serverPing Lnet/minecraft/client/realms/dto/RealmsServer;serverPing:Lnet/minecraft/client/realms/dto/RealmsServerPing;
      intermediary field_22616 Lnet/minecraft/class_4877;field_22616:Lnet/minecraft/class_4880;
      official v Lfbh;v:Lfbk;
  • 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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;b(Ljava/lang/String;)V
    • updateServerPing

      public void updateServerPing(RealmsServerPlayerList serverPlayerList)
      Mappings:
      Namespace Name Mixin selector
      named updateServerPing Lnet/minecraft/client/realms/dto/RealmsServer;updateServerPing(Lnet/minecraft/client/realms/dto/RealmsServerPlayerList;)V
      intermediary method_25059 Lnet/minecraft/class_4877;method_25059(Lnet/minecraft/class_4881;)V
      official a Lfbh;a(Lfbl;)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 Lfbh;a(Lcom/google/gson/JsonObject;)Lfbh;
    • 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 Lfbh;a(Lfbh;)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 Lfbh;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 Lfbh;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 i Lfbh;i()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 Lfbh;c(Ljava/lang/String;)Lfbh;
    • 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 Lfbh;f(Ljava/lang/String;)Lfbh$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 Lfbh;g(Ljava/lang/String;)Lfbh$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 Lfbh;d(Ljava/lang/String;)Lfbh$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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;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 Lfbh;g()Lfbh;
    • 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 Lfbh;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 Lfbh;h()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 Lfbh;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 Lfbh;e(Ljava/lang/String;)Lfyl;