Class RealmsUtil

java.lang.Object
net.minecraft.client.realms.util.RealmsUtil

@Environment(CLIENT) public class RealmsUtil extends Object
Mappings:
Namespace Name
official dud
intermediary net/minecraft/class_4448
named net/minecraft/client/realms/util/RealmsUtil
  • Field Details

    • authenticationService

      private static final com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService authenticationService
      Mappings:
      Namespace Name Mixin selector
      official b Ldud;b:Lcom/mojang/authlib/yggdrasil/YggdrasilAuthenticationService;
      intermediary field_20261 Lnet/minecraft/class_4448;field_20261:Lcom/mojang/authlib/yggdrasil/YggdrasilAuthenticationService;
      named authenticationService Lnet/minecraft/client/realms/util/RealmsUtil;authenticationService:Lcom/mojang/authlib/yggdrasil/YggdrasilAuthenticationService;
    • sessionService

      static final com.mojang.authlib.minecraft.MinecraftSessionService sessionService
      Mappings:
      Namespace Name Mixin selector
      official c Ldud;c:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      intermediary field_20262 Lnet/minecraft/class_4448;field_20262:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      named sessionService Lnet/minecraft/client/realms/util/RealmsUtil;sessionService:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
    • gameProfileCache

      public static LoadingCache<String,​com.mojang.authlib.GameProfile> gameProfileCache
      Mappings:
      Namespace Name Mixin selector
      official a Ldud;a:Lcom/google/common/cache/LoadingCache;
      intermediary field_20260 Lnet/minecraft/class_4448;field_20260:Lcom/google/common/cache/LoadingCache;
      named gameProfileCache Lnet/minecraft/client/realms/util/RealmsUtil;gameProfileCache:Lcom/google/common/cache/LoadingCache;
    • SECONDS_PER_MINUTE

      private static final int SECONDS_PER_MINUTE
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official d Ldud;d:I
      intermediary field_32129 Lnet/minecraft/class_4448;field_32129:I
      named SECONDS_PER_MINUTE Lnet/minecraft/client/realms/util/RealmsUtil;SECONDS_PER_MINUTE:I
    • SECONDS_PER_HOUR

      private static final int SECONDS_PER_HOUR
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official e Ldud;e:I
      intermediary field_32130 Lnet/minecraft/class_4448;field_32130:I
      named SECONDS_PER_HOUR Lnet/minecraft/client/realms/util/RealmsUtil;SECONDS_PER_HOUR:I
    • SECONDS_PER_DAY

      private static final int SECONDS_PER_DAY
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official f Ldud;f:I
      intermediary field_32131 Lnet/minecraft/class_4448;field_32131:I
      named SECONDS_PER_DAY Lnet/minecraft/client/realms/util/RealmsUtil;SECONDS_PER_DAY:I
  • Constructor Details

    • RealmsUtil

      public RealmsUtil()
  • Method Details

    • uuidToName

      public static String uuidToName(String uuid) throws Exception
      Throws:
      Exception
      Mappings:
      Namespace Name Mixin selector
      official a Ldud;a(Ljava/lang/String;)Ljava/lang/String;
      intermediary method_21568 Lnet/minecraft/class_4448;method_21568(Ljava/lang/String;)Ljava/lang/String;
      named uuidToName Lnet/minecraft/client/realms/util/RealmsUtil;uuidToName(Ljava/lang/String;)Ljava/lang/String;
    • getTextures

      public static Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,​com.mojang.authlib.minecraft.MinecraftProfileTexture> getTextures(String uuid)
      Mappings:
      Namespace Name Mixin selector
      official b Ldud;b(Ljava/lang/String;)Ljava/util/Map;
      intermediary method_21569 Lnet/minecraft/class_4448;method_21569(Ljava/lang/String;)Ljava/util/Map;
      named getTextures Lnet/minecraft/client/realms/util/RealmsUtil;getTextures(Ljava/lang/String;)Ljava/util/Map;
    • convertToAgePresentation

      public static String convertToAgePresentation(long milliseconds)
      Mappings:
      Namespace Name Mixin selector
      official a Ldud;a(J)Ljava/lang/String;
      intermediary method_21567 Lnet/minecraft/class_4448;method_21567(J)Ljava/lang/String;
      named convertToAgePresentation Lnet/minecraft/client/realms/util/RealmsUtil;convertToAgePresentation(J)Ljava/lang/String;
    • convertToAgePresentation

      public static String convertToAgePresentation(Date date)
      Mappings:
      Namespace Name Mixin selector
      official a Ldud;a(Ljava/util/Date;)Ljava/lang/String;
      intermediary method_25282 Lnet/minecraft/class_4448;method_25282(Ljava/util/Date;)Ljava/lang/String;
      named convertToAgePresentation Lnet/minecraft/client/realms/util/RealmsUtil;convertToAgePresentation(Ljava/util/Date;)Ljava/lang/String;