Class RealmsUtil


  • public class RealmsUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService AUTHENTICATION_SERVICE  
      static com.google.common.cache.LoadingCache<java.lang.String,​com.mojang.authlib.GameProfile> gameProfileCache  
      private static com.mojang.authlib.minecraft.MinecraftSessionService SESSION_SERVICE  
    • Constructor Summary

      Constructors 
      Constructor Description
      RealmsUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String convertToAgePresentation​(long p_225192_0_)  
      static java.lang.String convertToAgePresentationFromInstant​(java.util.Date p_238105_0_)  
      static java.util.Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,​com.mojang.authlib.minecraft.MinecraftProfileTexture> getTextures​(java.lang.String p_225191_0_)  
      static java.lang.String uuidToName​(java.lang.String p_225193_0_)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • AUTHENTICATION_SERVICE

        private static final com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService AUTHENTICATION_SERVICE
      • SESSION_SERVICE

        private static final com.mojang.authlib.minecraft.MinecraftSessionService SESSION_SERVICE
      • gameProfileCache

        public static com.google.common.cache.LoadingCache<java.lang.String,​com.mojang.authlib.GameProfile> gameProfileCache
    • Constructor Detail

      • RealmsUtil

        public RealmsUtil()
    • Method Detail

      • uuidToName

        public static java.lang.String uuidToName​(java.lang.String p_225193_0_)
                                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getTextures

        public static java.util.Map<com.mojang.authlib.minecraft.MinecraftProfileTexture.Type,​com.mojang.authlib.minecraft.MinecraftProfileTexture> getTextures​(java.lang.String p_225191_0_)
      • convertToAgePresentation

        public static java.lang.String convertToAgePresentation​(long p_225192_0_)
      • convertToAgePresentationFromInstant

        public static java.lang.String convertToAgePresentationFromInstant​(java.util.Date p_238105_0_)