Class RealmsUtil

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

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

    • SESSION_SERVICE

      static final com.mojang.authlib.minecraft.MinecraftSessionService SESSION_SERVICE
      Mappings:
      Namespace Name Mixin selector
      official a Lemf;a:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      intermediary field_20262 Lnet/minecraft/class_4448;field_20262:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
      named SESSION_SERVICE Lnet/minecraft/client/realms/util/RealmsUtil;SESSION_SERVICE:Lcom/mojang/authlib/minecraft/MinecraftSessionService;
    • NOW_TEXT

      private static final Text NOW_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Lemf;b:Lsw;
      intermediary field_44910 Lnet/minecraft/class_4448;field_44910:Lnet/minecraft/class_2561;
      named NOW_TEXT Lnet/minecraft/client/realms/util/RealmsUtil;NOW_TEXT:Lnet/minecraft/text/Text;
    • gameProfileCache

      private static final LoadingCache<String,com.mojang.authlib.GameProfile> gameProfileCache
      Mappings:
      Namespace Name Mixin selector
      official c Lemf;c: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:
      Mappings:
      Namespace Name Mixin selector
      official d Lemf;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:
      Mappings:
      Namespace Name Mixin selector
      official e Lemf;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:
      Mappings:
      Namespace Name Mixin selector
      official f Lemf;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)
      Mappings:
      Namespace Name Mixin selector
      official a Lemf;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;
    • uuidToProfile

      public static com.mojang.authlib.GameProfile uuidToProfile(String uuid)
      Mappings:
      Namespace Name Mixin selector
      official b Lemf;b(Ljava/lang/String;)Lcom/mojang/authlib/GameProfile;
      intermediary method_48973 Lnet/minecraft/class_4448;method_48973(Ljava/lang/String;)Lcom/mojang/authlib/GameProfile;
      named uuidToProfile Lnet/minecraft/client/realms/util/RealmsUtil;uuidToProfile(Ljava/lang/String;)Lcom/mojang/authlib/GameProfile;
    • convertToAgePresentation

      public static Text convertToAgePresentation(long milliseconds)
      Mappings:
      Namespace Name Mixin selector
      official a Lemf;a(J)Lsw;
      intermediary method_21567 Lnet/minecraft/class_4448;method_21567(J)Lnet/minecraft/class_2561;
      named convertToAgePresentation Lnet/minecraft/client/realms/util/RealmsUtil;convertToAgePresentation(J)Lnet/minecraft/text/Text;
    • convertToAgePresentation

      public static Text convertToAgePresentation(Date date)
      Mappings:
      Namespace Name Mixin selector
      official a Lemf;a(Ljava/util/Date;)Lsw;
      intermediary method_25282 Lnet/minecraft/class_4448;method_25282(Ljava/util/Date;)Lnet/minecraft/class_2561;
      named convertToAgePresentation Lnet/minecraft/client/realms/util/RealmsUtil;convertToAgePresentation(Ljava/util/Date;)Lnet/minecraft/text/Text;
    • drawPlayerHead

      public static void drawPlayerHead(DrawContext context, int x, int y, int size, String uuid)
      Mappings:
      Namespace Name Mixin selector
      official a Lemf;a(Leox;IIILjava/lang/String;)V
      intermediary method_48972 Lnet/minecraft/class_4448;method_48972(Lnet/minecraft/class_332;IIILjava/lang/String;)V
      named drawPlayerHead Lnet/minecraft/client/realms/util/RealmsUtil;drawPlayerHead(Lnet/minecraft/client/gui/DrawContext;IIILjava/lang/String;)V