Class RealmsUtil

java.lang.Object
com.mojang.realmsclient.util.RealmsUtil

public class RealmsUtil extends Object
  • Field Details

    • SESSION_SERVICE

      static final com.mojang.authlib.minecraft.MinecraftSessionService SESSION_SERVICE
    • RIGHT_NOW

      private static final Component RIGHT_NOW
    • GAME_PROFILE_CACHE

      private static final com.google.common.cache.LoadingCache<String,com.mojang.authlib.GameProfile> GAME_PROFILE_CACHE
    • MINUTES

      private static final int MINUTES
      See Also:
    • HOURS

      private static final int HOURS
      See Also:
    • DAYS

      private static final int DAYS
      See Also:
  • Constructor Details

    • RealmsUtil

      public RealmsUtil()
  • Method Details

    • uuidToName

      public static String uuidToName(String p_90222_)
    • getGameProfile

      public static com.mojang.authlib.GameProfile getGameProfile(String p_270932_)
    • convertToAgePresentation

      public static Component convertToAgePresentation(long p_287679_)
    • convertToAgePresentationFromInstant

      public static Component convertToAgePresentationFromInstant(Date p_287698_)
    • renderPlayerFace

      public static void renderPlayerFace(GuiGraphics p_281255_, int p_281818_, int p_281791_, int p_282088_, String p_282512_)