Class TextureProvider

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static pro.gravit.utils.ProviderMap<TextureProvider> providers  
    • Constructor Summary

      Constructors 
      Constructor Description
      TextureProvider()  
    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void close()  
      abstract pro.gravit.launcher.profiles.Texture getCloakTexture​(java.util.UUID uuid, java.lang.String username, java.lang.String client)  
      abstract pro.gravit.launcher.profiles.Texture getSkinTexture​(java.util.UUID uuid, java.lang.String username, java.lang.String client)  
      static void registerProviders()  
      • Methods inherited from class java.lang.Object

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

      • providers

        public static final pro.gravit.utils.ProviderMap<TextureProvider> providers
    • Constructor Detail

      • TextureProvider

        public TextureProvider()
    • Method Detail

      • registerProviders

        public static void registerProviders()
      • close

        public abstract void close()
                            throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.io.IOException
      • getCloakTexture

        public abstract pro.gravit.launcher.profiles.Texture getCloakTexture​(java.util.UUID uuid,
                                                                             java.lang.String username,
                                                                             java.lang.String client)
                                                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getSkinTexture

        public abstract pro.gravit.launcher.profiles.Texture getSkinTexture​(java.util.UUID uuid,
                                                                            java.lang.String username,
                                                                            java.lang.String client)
                                                                     throws java.io.IOException
        Throws:
        java.io.IOException